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 / girajendra kumar

Necessary and sufficient conditions for a solution to the
c.s. problem:
1. Mutual Exclusion --- if is executing in one of its
critical sections, no , , is executing in its critical
sections.
2. Progress --- a process operating outside of its
critical section cannot prevent other processes from
entering theirs; processes attempting to enter their
critical sections simultaneously must decide which process
enters eventually.
3. Bounded Waiting --- a process attempting to enter
its critical region will be able to do so eventually.
Assumptions:
1. No assumptions made about relative speed of
processes
2. No process may remain in its critical section
indefinitely (may not terminate in its critical section)
3. A memory operation (read or write) is atomic ---
cannot be interrupted. For now, we do not assume
indivisible RMW cycles.

Is This Answer Correct ?    20 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you kill a process?

1074


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

1348


If your server is running on Unix and one of the sessions are keep on running without loading any data. how would you kill it?

1148


Explain what is protection boundary?

1094


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

1125


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

944


explain about the initial process sequence while the system boots up?

1113


Explain what is critical section?

1020


Explain critical section?

1113


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

1015


List the system calls used for process management?

1135


Explain what are threads?

1099


Explain what is scheduling?

1108


What is the working set of a process?

1064


Explain similarities between thread and process?

1033