What is Critical section?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What are the main families of threads?
Explain what are threads?
Explain critical section?
What are threads?
Tell me when should we use thread-safe "_r" library calls?
When should we use thread-safe "_r" library calls?
What is protection boundary?
tell me similarities between thread and process
What is Critical section?
what is Scheduling?
Explain similarities between thread and process?
Explain what are the main families of threads?