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 |
Explain similarities between thread and process?
How to work unix commands on windows xp without installing unix o/s in pc?
what is Context switch?
Tell me when should we use thread-safe "_r" library calls?
Explain what is critical section?
Explain the architectural differences between user-space threads, and kernel-supported threads?
What are threads?
HOW can I work UNIX commands on Windows XP without installing UNIX O/S in PC
Explain what are the main families of threads?
Explain the different kinds of threads?
what are the Performance differences between User-space threads and Kernel-supported threads.
Explain what is scheduling?