No POSIX barriers on OSX
Also, while I am at it, @jborrow discovered the hard way that OSX does not provide an implementation for pthread_barrier()
. Seems like constructing a barrier by hand using mutexes is not too hard. But do we care ? Or should Apple fan boys just SSH into a Linux machine ?
POSIX barriers are part of the POSIX norm but only as an extension.