Re: pthread_rwlock_tryrdlock bug (with test & patch)

2013-01-06 Thread Christopher Faylor
On Sun, Jan 06, 2013 at 06:24:47PM +0100, Antti Kantee wrote: >[I'd submit this to cygwin-patches, but the web page says only >subscribers can post to that list, so please bear with me for this >simple issue] > >Hi, > >Calling pthread_rwlock_tryrdlock() twice from the same thread always >fails w

pthread_rwlock_tryrdlock bug (with test & patch)

2013-01-06 Thread Antti Kantee
[I'd submit this to cygwin-patches, but the web page says only subscribers can post to that list, so please bear with me for this simple issue] Hi, Calling pthread_rwlock_tryrdlock() twice from the same thread always fails with EBUSY the second time. See attached test.c. Replacing the seco