What is Critical section?

Answer Posted / avdhesh kumar

1. The critical-section problem is to design a
protocol that the processes can cooperate. The protocol
must ensure that when one process is executing in its
critical section, no other process is allowed to execute in
its critical section.
2. The critical section problem is to design a
protocol that the processes can use so that their action
will not depend on the order in which their execution is
interleaved (possibly on many processors).

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

777


Explain the different kinds of threads?

759


How would you kill a process?

771


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

655


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

670






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?

771


Explain critical section?

774


What is protection boundary?

820


List the system calls used for process management?

780


Explain what is critical section?

716


What is the working set of a process?

730


Explain what is protection boundary?

759


Explain what is scheduling?

795


Explain what are threads?

768


Explain what are the main families of threads?

716