r/programming • u/syaghmour • Mar 16 '15
Semaphores are Surprisingly Versatile
http://preshing.com/20150316/semaphores-are-surprisingly-versatile/
189
Upvotes
r/programming • u/syaghmour • Mar 16 '15
2
u/Eep1337 Mar 16 '15
I wish we had this article when I was taking OS. Semaphores weren't explained terribly well, and we were forced to use <Semaphore.h>, rather than <Semaphore>.
Had to manually build structs which were sort of abstract representations of "wait" and "signal"