DreamTeam Money Making ForumRegister
Link To Us
Advertise on DTMHelpLog In
Welcome Guest ( Log In | Register )
What is meant by binary semaphore? What is its use?
a semaphore that can only have two values i.e. true or false
A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.
binary means only one bit used for data 0 off, 1 on, so one byte 8bit size may keep up to 8 smaphoresThis post has been edited by jiashua: Apr 26 2013, 08:12 PM