diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-25 21:14:40 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-25 21:14:40 -0400 |
commit | c11d1e696723f41d7873332e51fb6858b417fa5f (patch) | |
tree | 4109f54cb4bd53b6e21086bf905d53aa19fe7a28 /src/thread/pthread_mutexattr_getrobust.c | |
parent | cf940165d4caf132405a3fe3df58b57eb735ac04 (diff) | |
download | musl-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