Use Win32 synchronization APIs on Cygwin.
They are more efficient, and self-contained enough not to create trouble. Also, Cygwin's pthread_rwlock implementation appears buggy. I am seeing it allow double locks from time to time.
Showing
Please
register
or
sign in
to comment