about summary refs log tree commit diff
path: root/src/thread/pthread_mutexattr_getrobust.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-25 21:14:40 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-25 21:14:40 -0400
commitc11d1e696723f41d7873332e51fb6858b417fa5f (patch)
tree4109f54cb4bd53b6e21086bf905d53aa19fe7a28 /src/thread/pthread_mutexattr_getrobust.c
parentcf940165d4caf132405a3fe3df58b57eb735ac04 (diff)
downloadmusl-c11d1e696723f41d7873332e51fb6858b417fa5f.tar.gz
musl-c11d1e696723f41d7873332e51fb6858b417fa5f.tar.xz
musl-c11d1e696723f41d7873332e51fb6858b417fa5f.zip
revert previous change in cond var waiter move
using swap has a race condition: the waiters must be added to the
mutex waiter count *before* they are taken off the cond var waiter
count, or wake events can be lost.
Diffstat (limited to 'src/thread/pthread_mutexattr_getrobust.c')
0 files changed, 0 insertions, 0 deletions