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

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

545


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

650


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

608


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

530


Explain critical section?

623






How would you kill a process?

639


Explain what are threads?

643


Explain similarities between thread and process?

598


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?

631


Explain the different kinds of threads?

614


What is protection boundary?

694


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

623


Explain what is protection boundary?

580


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

498


List the system calls used for process management?

630