os: Do not use Pthreads barrier functions on Mac OS X.

Pthreads barrier functions are not available on some POSIX platforms.
1 file changed