[Bug nptl/23844] pthread_rwlock_trywrlock results in hang
prohaska7 at gmail dot com
sourceware-bugzilla@sourceware.org
Tue Dec 11 21:44:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23844
--- Comment #11 from richard prohaska <prohaska7 at gmail dot com> ---
Lets compare the logic in tryrdlock and rdlock WRT the transition from write
phase to read phase. In tryrdlock, the wrphase futex is just set to 0. In
rtdlock, the wrphase futext is exchanged with 0, and if the USED bit was set
then the futex is awakened. I wonder if this difference is responsible for the
subsequent hangs.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list