What is Critical section?

Answers were Sorted based on User's Feedback



What is Critical section?..

Answer / chacha jaybee- student

Critical section is an instance in which some data is being
written or its value is being changed by a certain thread
and is therefore shielded to prevent another process from
reading it.

Is This Answer Correct ?    2 Yes 1 No

What is Critical section?..

Answer / gowtham

Qs: What is Critical section?
Ans:
The critical-section problem is to design a
protocol that the processes can cooperate. The protocol
must ensure that when one process is executing in its
critical section, no other process is allowed to execute in
its critical section. The critical section problem is to
design a protocol that the processes can use so that their
action will not depend on the order in which their execution
is interleaved (possibly on many processors).

Is This Answer Correct ?    1 Yes 1 No

What is Critical section?..

Answer / anshuman

Critical Session is the part of caode that exist in every
process. And each process shared a common resource. If one
process in CS on other process can enter in this Session.

this is used for Dead Lock prevention.

Is This Answer Correct ?    4 Yes 5 No

Post New Answer

More Unix Threads Interview Questions

Explain what is scheduling?

0 Answers  


Explain the different kinds of threads?

0 Answers  


what is Scheduling?

3 Answers   Hexaware,


Explain critical section?

0 Answers  


tell me similarities between thread and process

4 Answers   Tanla Solutions,






List the system calls used for process management?

0 Answers  


what are the Architectural differences between User-space threads, and Kernel-supported threads.

1 Answers  


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

0 Answers  


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

0 Answers  


HOW can I work UNIX commands on Windows XP without installing UNIX O/S in PC

8 Answers   TCL,


What are the different kinds of threads?

3 Answers   Ericsson, Fashion Technology,


What are threads?

4 Answers  


Categories