What is a semaphore?

Answer Posted / gaurav

Semaphore is a variable which ios used to provide mutual
exclusion. It has two operations namely wait() and signal()

Is This Answer Correct ?    15 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

describe the situation in which priority inversion can occur

907


Is deepin os stable?

541


iam free downloading the KK Dictionery to my system but that is not installed yet. can anybody tell be why this happen and what the system have to install the software.

1871


What are the Types Of Vg & Explain About Them?

565


Can I factory reset my laptop without a recovery disc?

532






Assuming feedback to the adversary flugging an error as each incorrect character is entered, what is the expected time to discover the correct password?

2855


How do I compare files in notepad ++?

516


What is a file in os?

612


Is go garbage collected?

570


1) What is an Virtual memory? 2) How do we test API's in both Windows/Linux/Unix? 3) What is an IOCTL? 4) How do you open a char device through API's? 5) What is major num/ minor num? 6) What is the max num for minor num? 7) Who gives you the major / minor numbers? 8) Reverse a string using recursive func. 9) fork/vfork/clone. 10) What does fork returns? 11) What is a zombie process? 12) What happens when a child completes before parent tries to wait for it? 13) Interrupt handlers, top-hdnl....?

2034


What is gnu os?

545


Is gnu an os?

567


What is the shortcut key to refresh laptop?

495


How To Lock A User's Account?

590


Which intel core is best?

573