Is it possible to have concurrency but not parallelism? Explain.
Answers
Answered by
15
Thank you for asking this question .and let me help you in finding the right answer.
Yes. Concurrency means is a condition exists that more than one process as well as thread is progressing at the same time. However, it does not imply that the processes are running simultaneously. The scheduling of tasks allows for concurrency, but the parallelism is supported only on the systems with more than one processing core.
Answered by
6
Explanation:
Yes, it is possible to have concurrency but not parallelism. Concurrency: Concurrency means where two different tasks or threads start working together in an overlapped time period, however, it does not mean they run at same instant. In a Concurrency, minimum two threads are to be executed for processing.
Similar questions