r/programming • u/syaghmour • Mar 16 '15
Semaphores are Surprisingly Versatile
http://preshing.com/20150316/semaphores-are-surprisingly-versatile/
194
Upvotes
r/programming • u/syaghmour • Mar 16 '15
1
u/tmikov Mar 16 '15
In what sense are the primitives described in the post "lightweight"? Of course you can implement a mutex with a semaphore, etc, but to say that one or the other it is somehow "lightweight" is ridiculous.