Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is Concurrency? Expain with example Deadlock and
Starvation?

Answer Posted / rajdeo kumar vadhwa

concurrency:-
when two processes want to acquire the same resource.

Deadlock:-
Deadlock is a condition when two processes (A,B)require a
single resource at a moment then deadlock condition occurred.
example:
suppose two process A,B require resource 'R' for accessing
and that time process A and B both generate flag 1 for
acquire the resource in this situation no one can access
that resource immediately then deadlock condition occurred.


Starvation:
This is mostly happens in time sharing systems in which the
process which requires less time slot is waiting for the
large process to finish and to release the resources, but
the large process holding the resources for long time
(almost for forever) and the process that requires small
time slot goes on waiting. Such situation is starvation for
small process.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is 32 bit called x86 and not x32?

986


Considering notepad/IE or any other thing as process, What will happen if you start notepad or IE 3 times ? Where three processes are started or three threads are started?

1233


What is cache-coherency?

1027


Explain what is meant by CORE DUMPS?

1044


What do you mean by memory leak?

1149


What is run level 1?

1040


What are types of operating system?

985


What is dynamic scheduling in operating system (os)?

994


Explain page fault interrupt?

1029


What is the need of device status table?

1038


What are the deadlock avoidance algorithms?

1075


What does a 64 bit processor mean?

958


What is banker's algorithm?

1053


What are the primary functions of VFS?

1234


What is the use of chkdsk f?

1012