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 the performance differences between user-space threads and kernel-supported threads.?

602


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

523


Explain what are threads?

637


List the system calls used for process management?

624


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

493






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

543


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

516


Explain critical section?

613


Explain what are the main families of threads?

573


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

616


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?

629


Explain what is protection boundary?

578


Explain the different kinds of threads?

612


Explain similarities between thread and process?

592


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

643