Bug 26089 - hurd: support RWLOCK_PREFER_*
Summary: hurd: support RWLOCK_PREFER_*
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: hurd (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-07 14:25 UTC by Samuel Thibault
Modified: 2020-06-07 14:31 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Thibault 2020-06-07 14:25:43 UTC
This should be relatively simple, by changing the order of looking at __writerqueue vs __readerqueue in __pthread_rwlock_unlock
Comment 1 Samuel Thibault 2020-06-07 14:31:54 UTC
Note: there is a series of tests in nptl/tst-rwlock{2,6,7,8,9,10,11,17,18,20,2a,2b}.c, to be moved to sysdeps/pthread/ when the support is ready.