MacOS pthreads does not have pthread_yield().