A reader lock can be obtained even if a writer is already waiting for a lock
@yann-soubeyrand
Submitted by Yann Soubeyrand Link to original bug (#681980)
Description
Created attachment 221356 Test case
Hi,
In the doc it is stated that a read lock can't be obtained when a writer is waiting for a lock but that's not the case. A test case is attached.
Cheers
Attachment 221356, "Test case":
rw_lock.c