Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What is the difference between parallelism and concurrency?

Sumit Rawal answered on May 10, 2023 Popularity 9/10 Helpfulness 3/10

Contents


More Related Answers


What is the difference between parallelism and concurrency?

1

Concurrency is when two or more tasks can start, run, and complete in

overlapping time periods. It doesn't necessarily mean they will ever both be

running at the same instant. Eg. multitasking on a single-core machine.

Parallelism is when tasks literally run at the same time, eg. on a multicore

processor.

Quoting Sun's Multithreaded Programming Guide:

- Concurrency: A condition that exists when at least two threads are

makingprogress. A more generalized form of parallelism that can include

timeslicing as a form of virtual parallelism.

- Parallelism: A condition that arises when at least two threads

areexecuting simultaneously 

Popularity 9/10 Helpfulness 3/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on May 10 2023
Sumit Rawal
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.