You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Concurrent processing means multiple tasks are in progress at the same time. In OCR H446, you need to understand the benefits and challenges of concurrency, including race conditions, deadlock, and shared resource management. Thinking concurrently means identifying which parts of a problem can be solved simultaneously.
| Term | Definition |
|---|---|
| Concurrent | Multiple tasks are in progress during the same time period (may not be executing at exactly the same instant) |
| Parallel | Multiple tasks are executing at exactly the same instant (requires multiple processors/cores) |
| Sequential | Tasks execute one after another |
Important distinction: Concurrency is about managing multiple tasks; parallelism is about executing them simultaneously. A single-core processor can handle concurrency (by switching between tasks) but not true parallelism.
Sequential: Task A ------> Task B ------> Task C ------>
Concurrent: Task A --> Task B --> Task A --> Task C --> Task B -->
Parallel: Task A ------>
Task B ------>
Task C ------>
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.