about summary refs log tree commit diff
path: root/src/thread/pthread_mutexattr_setpshared.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-28 19:45:37 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-28 19:45:37 -0400
commitde543b05c87d79a9313991810e9ee8ecdaad8f19 (patch)
treeabde9355e67731c9e8b48ccdd107405cb35b6e03 /src/thread/pthread_mutexattr_setpshared.c
parentede5ae7b0bb5a7ed9edeb2eeb8e24d30af64d185 (diff)
downloadmusl-de543b05c87d79a9313991810e9ee8ecdaad8f19.tar.gz
musl-de543b05c87d79a9313991810e9ee8ecdaad8f19.tar.xz
musl-de543b05c87d79a9313991810e9ee8ecdaad8f19.zip
fix excessive/insufficient wakes in __vm_unlock
there is no need to send a wake when the lock count does not hit zero,
but when it does, all waiters must be woken (since all with the same
sign are eligible to obtain the lock).
Diffstat (limited to 'src/thread/pthread_mutexattr_setpshared.c')
0 files changed, 0 insertions, 0 deletions