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 about the initial process sequence while the system boots up?

0 Answers  


Explain similarities between thread and process?

0 Answers  


What is Critical section?

13 Answers   TCS,


How would you kill a process?

0 Answers  


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

0 Answers  






how to edit the network interface device type in container(zone) in solaris 10?

2 Answers   TCS,


Protection boundary??

1 Answers  


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

0 Answers  


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

1 Answers  


what is Scheduling?

3 Answers   Hexaware,


Explain what are the main families of threads?

0 Answers  


what is Context switch?

6 Answers  


Categories