aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu/updwtmp.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-09-25 16:30:06 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2012-09-25 16:30:06 -0500
commit7e2fca8dd22e3bd932581d6479b0c552deff00b6 (patch)
tree964db807642e388bfedf3684ab50442a86efadbe /sysdeps/gnu/updwtmp.c
parent1c530d024418c75bb61eecf23aea1f4179fbf0fe (diff)
downloadglibc-7e2fca8dd22e3bd932581d6479b0c552deff00b6.tar
glibc-7e2fca8dd22e3bd932581d6479b0c552deff00b6.tar.gz
glibc-7e2fca8dd22e3bd932581d6479b0c552deff00b6.tar.bz2
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 'sysdeps/gnu/updwtmp.c')
0 files changed, 0 insertions, 0 deletions