Critical section is?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of process termination?

561


What is preemptive multitasking?

613


Will chkdsk delete my files?

520


What does echo $$ do?

538


Explain paging, faulting, and deadlock?

638






Why is round robin algorithm considered better than first come first served algorithm?

791


What is starvation os?

594


much time is spent usually in each phases and why?

615


Which JVM parameter is used to control the stack size of a thread?

540


Differentiate between Multiprocessing, Mutliprogramming and Multithreading.

649


What is context in operating system?

515


What are the three types of file system?

499


Explain bootstrap program in operating system.

557


How much ram do I need?

463


What is BSS(Block Started by Symbol)?

602