mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
7e2fca8dd2
Ref gcc.gnu.org/bugzilla/show_bug.cgi?id=52839#c10 Release barriers are needed to ensure that any memory written by init_routine is seen by other threads before *once_control changes. In the case of clear_once_control we need to flush any partially written state. |
||
---|---|---|
.. | ||
i386 | ||
powerpc | ||
pthread | ||
s390 | ||
sh | ||
sparc | ||
unix/sysv/linux | ||
x86_64 |