Hi,
According to your description, I wonder if you want to know what is the difference between concurrency and parallelism?If so.
Concurrency is when two or more tasks can start, run, and complete in overlapping time periods. It doesn't necessarily mean they'll ever both be running at the same instant. For example, multitasking on a single-core machine.
Parallelism is when tasks literally run at the same time, e.g. on a multi-core processor.
The Parallel Patterns Library (PPL) provides an imperative programming model that promotes scalability and ease-of-use for developing concurrent applications. The PPL builds on the scheduling and resource management components of the Concurrency Runtime.
Concurrency can occur without parallelism: for example, multitasking on a single processor system.
Parallelism is a specific form of concurrency requiring multiple processors (or a single processor capable of multiple engines of execution, such as a GPU).
With concurrency, multiple threads make forward progress, but not necessarily simultaneously.
With parallelism, threads literally execute in parallel, allowing multi-threaded programs to utilize multiple processors.
Best Regards,
Jeanine
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.