Jonas Maebe wrote:
Not sure if this means it's not necessary in the Mac OS X (and possibly FreeBSD) versions, or that the Mac OS X man pages are incomplete.

It does say: The pthread_cond_signal() function unblocks one thread waiting for the condition variable cond.

By implication this means you need a mutex to protect against race conditions. Those manual pages are incomplete/too concise I would say.

Micha
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to