diff options
author | Alan Modra <amodra@gmail.com> | 2012-09-25 16:30:06 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2012-09-25 16:30:06 -0500 |
commit | 7e2fca8dd22e3bd932581d6479b0c552deff00b6 (patch) | |
tree | 964db807642e388bfedf3684ab50442a86efadbe /nptl/tst-sem11.c | |
parent | 1c530d024418c75bb61eecf23aea1f4179fbf0fe (diff) | |
download | glibc-7e2fca8dd22e3bd932581d6479b0c552deff00b6.tar.gz glibc-7e2fca8dd22e3bd932581d6479b0c552deff00b6.tar.xz glibc-7e2fca8dd22e3bd932581d6479b0c552deff00b6.zip |
Fix bugs in powerpc pthread_once.
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.
Diffstat (limited to 'nptl/tst-sem11.c')
0 files changed, 0 insertions, 0 deletions