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 Critical section?

Answer Posted / mufti usmaan system analyst

In concurrent programming a critical section is a piece of
code that accesses a shared resource (data structure or
device) that must not be concurrently accessed by more than
one thread of execution. A critical section will usually
terminate in fixed time, and a thread, task or process will
have to wait a fixed time to enter it (aka bounded waiting).
Some synchronization mechanism is required at the entry and
exit of the critical section to ensure exclusive use, for
example a semaphore

Is This Answer Correct ?    21 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to work unix commands on windows xp without installing unix o/s in pc?

1020


Explain the architectural differences between user-space threads, and kernel-supported threads?

980


What is the working set of a process?

1026


Explain what are threads?

1045


How would you kill a process?

1030


What is the window of the working set of a process?

1070


Explain what is scheduling?

1054


Explain the performance differences between user-space threads and kernel-supported threads.?

1237


Tell me when should we use thread-safe "_r" library calls?

891


Explain what is critical section?

972


Explain similarities between thread and process?

986


Explain what is protection boundary?

1049


Explain critical section?

1062


What is protection boundary?

1068


List the system calls used for process management?

1091