Concurrency Flashcards
What is concurrency as it relates to PDC?
It is the process of executing multiple tasks at the same time however, it may not be simultaneous.
How do you achieve concurrency on a single core processor?
With the use of multiprogramming. In multiprogramming, the OS rapidly switches back and forth between multiple programs that have been loaded into memory. We can say that blocks of the two programs’ instructions are interleaved, meaning that the processor alternates which program is running. Because this happens so quickly, the concurrency provided by multiprogramming creates the illusion of parallel execution.
What are the three main types of concurrent computing?
threading, asynchrony, and preemptive multitasking