Goodbye semaphores?
Goodbye semaphores?
Posted Jan 5, 2006 7:45 UTC (Thu) by fenrus (guest, #31654)In reply to: Goodbye semaphores? by thedevil
Parent article: Goodbye semaphores?
The big win is one of complexity. With semaphores, there is the possibility of having multiple up()s in parallel, and from callers that didn't even have the semaphore. The lack of this complexity gives the mutex code more freedom to "do the right thing", far less race condition possibilities for example. (this may sound like handwaving but it's not)
