What is Concurrency?

Posted by  Prakash nidhi Verma
 778  View(s)
Rate this:
  1. What is Concurrency?


    when so many several instruction sequences executed at same time its called concurrency. In operating system having several process threads running in parallel at time of concurrency. These threads may communicate with each other through either shared memory or message passing. 

    Concurrency results in sharing of resources result in problems like:- deadlocks and resources  starvation. It helps in techniques like coordinating execution of processes,memory allocation and execution  scheduling for maximizing throughput. 

    Problems in Concurrency:- 

    - sharing global resources safely is difficult 

    - optimal allocation of resources is difficult

    - locating programming errors can be difficult,because the contexts in which errors occur cannot always be reproduced easily.