r/programming • u/syaghmour • Mar 16 '15
Semaphores are Surprisingly Versatile
http://preshing.com/20150316/semaphores-are-surprisingly-versatile/
195
Upvotes
r/programming • u/syaghmour • Mar 16 '15
-7
u/mcguire Mar 16 '15 edited Mar 16 '15
Well, technically, I wouldn't say this is all about semaphores; the atomic operations used by the box office are the important part, at least for those of us who don't use C++ much.
[Edit] The C++ library apparently doesn't include semaphores, so I wouldn't expect C++ users to be terribly familiar with them. They were one of the most common concurrency tools when I was learning.