[Bug nptl/23844] pthread_rwlock_trywrlock results in hang
triegel at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Dec 12 21:43:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23844
--- Comment #13 from Torvald Riegel <triegel at redhat dot com> ---
(In reply to richard prohaska from comment #12)
> Created attachment 11457 [details]
> patch for tryrdlock function
>
> added logic to tryrdlock that exists in rdlock to wake the wrphase futex
> when the rwlock phase transistions from write phase to read phase. this
> logic wakes up other threads stalled in the rdlock function.
>
> this patch can successfully run the tryrdlock test cases.
This makes sense. Thank you. The trywrlock fix and this one (with changed
comments) will get posted upstream.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list