Critical section is?
Answers were Sorted based on User's Feedback
Answer / vaibhav
In concurrent programming, critical section is a piece of
code that accesses a shared resource(data structure or
device) that must not be concurrently accessed by more than
one thread of execution. A critical section will usually
terminate in fixed time, and a thread, task or process will
have to wait for a fixed time to enter it, which is called
as bounded waiting.
| Is This Answer Correct ? | 7 Yes | 0 No |
What are the different functions of Syntax phase, Scheduler?
How does thread synchronization occur in a monitor?
Define scheduling in OS.
What is the difference between shared memory and distributed memory?
Explain migration process?
How do I run chkdsk on external drive?
What is the signal?
What is tty stand for?
What are the different phases of compiler? What happens in lexical phase?
Describe the actions taken by the operating system when a page fault occurs?
How to sync two threads in multithreaded application?
Stable storage cannot be implemented. (A) Explain why it cannot be. (B) Explain how database system deal with database applications