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

What is protection boundary?

661


List the system calls used for process management?

598


What is the working set of a process?

583


Explain what are threads?

610


Explain what is scheduling?

588






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

589


Explain the different kinds of threads?

591


How would you kill a process?

610


Explain critical section?

586


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

516


Explain what are the main families of threads?

550


Explain what is critical section?

536


Explain what is protection boundary?

551


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

494


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

573