News for hackers. Stuff that matters.
Re:Poll on macOS 10.12 is broken by tpush on Tuesday October 11, 2016 @10:23AM (#12684599)
"I remember discovering that unnamed semaphores don't work on OS X"

Yeah, Posix semaphores don't work on macOS. Confusingly, support for unnamed semaphores exists however in Apple's libdispatch, using dispatch_semaphore_t. Don't ask me why.

Re:Poll on macOS 10.12 is broken by valleyer on Wednesday October 12, 2016 @04:04AM (#12691102)
Yup. dispatch_semaphore_t uses Mach semaphores under the cover. (Totally separate from POSIX semaphores.)