Opened 8 years ago
Closed 8 years ago
#13323 closed bug (fixed)
pthread_barrierattr_setpshared() should check the new value
Reported by: | korli | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/POSIX | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Should return EINVAL for values different from PTHREAD_PROCESS_SHARED and PTHREAD_PROCESS_PRIVATE.
http://cgit.haiku-os.org/haiku/tree/src/system/libroot/posix/pthread/pthread_barrier.cpp#n150 http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_barrierattr_setpshared.html
It seems to be done correctly in pthread_mutexattr_setpshared(). http://cgit.haiku-os.org/haiku/tree/src/system/libroot/posix/pthread/pthread_mutexattr.c#n94
Note:
See TracTickets
for help on using tickets.
Fixed in hrev50969.