What is Critical section?

Answer Posted / zahid

In concurrent programming a critical section is a piece of
code that accesses a shared resource (data structure or
device) that must not be concurrently accessed by more than
one thread of execution.

Is This Answer Correct ?    32 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

614


Explain what is protection boundary?

574


How would you kill a process?

632


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

536


What is protection boundary?

684






Explain critical section?

610


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

513


Explain what are the main families of threads?

572


List the system calls used for process management?

621


Explain the different kinds of threads?

608


Explain similarities between thread and process?

588


Explain what are threads?

633


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


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

489


What is the working set of a process?

604