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

How much does a pc cost?

560


Explain the basic functions of process management.

606


How do you assign priority to a worker thread?

582


what's the latest ram lunch?

2263


Can I move programs from c drive to d?

523






Write a function that responds to a click anywhere on the page by displaying an alert dialog. Display the event name if the user held Shift during the mouse click. Display the element name that triggered the event if the user held Ctrl during the mouse click.

1418


How do I install operating system?

592


Why do we need threads?

606


Why is it that a single, all – encompassing metric cannot be developed for programme complexity or programme quality?

1660


Explain the difference between load-time dynamic linking and run-time dynamic linking?

564


Given a Pid, how will you distinguish whether it is a process or a thread?

612


What are the essential conditions for a deadlock to occur?

549


How can two processes communicate with one another?

505


What is time- sharing system?

596


What are old chkdsk files?

610