What is a binary semaphore? What is its use?

Answer Posted / anjana sharma

Has value 0 or 1 ,used by different to have an acess to
critical region of a process.

Is This Answer Correct ?    11 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of paging in operating system?

533


Explain the purpose of the open() and close() operations.

1585


How does yahoo handles billions of requests, does it create a thread per request or a process?

612


Will chkdsk fix bad sectors?

523


Suppose if we have a variable 'I' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

645






What are the different states of a process?

604


How do I cd into a directory?

529


How can you pause the execution of a Thread for a certain amount of time?

603


Explain a drawback of mvt?

583


How much ram do I need for gaming?

567


Describe the actions taken by the operating system when a page fault occurs?

535


When would you choose bottom-up methodology?

2113


Explain the concept of deadlocks? Why they are used?

631


State the main difference between logical from physical address space.

610


What are the 5 stages of chkdsk?

506