This website requires JavaScript.
ReeceSX
Explore
Aurora
Register
Sign In
AuroraMiddleware
/
glibc
Watch
1
Star
0
Fork
0
You've already forked glibc
mirror of
https://sourceware.org/git/glibc.git
synced
2024-12-11 13:50:06 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c34ae92056
glibc
/
sysdeps
/
sparc
/
sparc32
/
pthread_barrier_wait.c
2 lines
56 B
C
Raw
Normal View
History
Unescape
Escape
New pthread_barrier algorithm to fulfill barrier destruction requirements. The previous barrier implementation did not fulfill the POSIX requirements for when a barrier can be destroyed. Specifically, it was possible that threads that haven't noticed yet that their round is complete still access the barrier's memory, and that those accesses can happen after the barrier has been legally destroyed. The new algorithm does not have this issue, and it avoids using a lock internally.
2015-06-24 12:37:32 +00:00
#
error No support for pthread barriers on pre-v9 sparc.
Reference in New Issue
Copy Permalink