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 the architectural differences between user-space threads, and kernel-supported threads?
Explain similarities between thread and process?
Explain what is critical section?
How would you kill a process?
List the system calls used for process management?
Explain the performance differences between user-space threads and kernel-supported threads.?
What is the window of the working set of a process?
tell me similarities between thread and process
Tell me when should we use thread-safe "_r" library calls?
What are threads?
How to work unix commands on windows xp without installing unix o/s in pc?