What is Critical section?

Answer Posted / dhruv

It is a section of code in the process which requires access
to only shared resources. It must not be executed while
another process another program is in the corresponding
section of code. It provides the mutual exclusion to the
processes.

Is This Answer Correct ?    57 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the different kinds of threads?

761


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

661


How would you kill a process?

775


Explain similarities between thread and process?

731


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

659






Explain what is scheduling?

800


Explain what is critical section?

718


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

677


What is protection boundary?

822


Explain what is protection boundary?

762


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

780


What is the working set of a process?

736


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

689


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

806


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

781