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 what is protection boundary?

574


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

614


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

537


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

513


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?

627






How would you kill a process?

632


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

489


Explain similarities between thread and process?

588


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

600


Explain the different kinds of threads?

608


List the system calls used for process management?

621


Explain what is scheduling?

612


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

640


What is the working set of a process?

604


Explain what are the main families of threads?

572