2.1.5 Thinking Concurrently
No description yet. This curated deck is ready for daily study.
Card preview (5)
Concurrent thinking
• the process of completing more than one task concurrently • does not always mean you have to be working in Multiple tasks at once • involves giving time slices to different tasks • parts of a problem which are related can often be solved concurrently
Concurrent processing
• multiple processes being executed at the same time/ appearing to be happening simultaneously [1] • by giving processes a slice of processor time [1] • one process may need to start before a second has finished [1]
Concurrent processing != parallel processing
• parallel processing is when multiple processors are used to compete more than one task simultaneously • whereas in concurrent processing, each task is given a slice of processor time to make it appear as if tasks are being completed simultaneously => In reality tasks are executed sequentially
Concurrent processing benefits
• more tasks can be completed in the same time frame • less time is wasted waiting for an input or user interaction so other tasks can be completed in this time
Concurrent processing drawbacks