determine the concept of concurrency the basic


Determine the concept of Concurrency

The basic concept in computer programming is concept of handling more than one task at a time. Many programming problems need that the program should be able to: 

1) Stop what its doing 

2) Currently deal with some other problem

3) Return to the main process. There is a large class of problems in that you have to partition problem into separately running pieces so that whole program can be more responsive. Inside a program, these separately running pieces are known as threads and the general concept is termed as multithreading.

Presently, if you have more than one thread running which is expecting to access the same resource then there is a problem. To avoid this problem, a thread locks a resource afterwards completes its task and then releases lock so that someone else can use that particular resource. It may lock the memory of any object so that just one thread can use it at a time. It is significant to handle simultaneously running thread/programs properly.

 

 

Request for Solution File

Ask an Expert for Answer!!
Software Engineering: determine the concept of concurrency the basic
Reference No:- TGS0333153

Expected delivery within 24 Hours