diff options
author | 2007-03-18 10:46:51 +0000 | |
---|---|---|
committer | 2007-03-18 10:46:51 +0000 | |
commit | c983619838e326118949a4229ed1a7c5a1404f8e (patch) | |
tree | 7573353401a4f3a56f4efaffd8cccf893cd0b20f /usr.bin/diff/diffreg.c | |
parent | sync for UP2000 (diff) | |
download | wireguard-openbsd-c983619838e326118949a4229ed1a7c5a1404f8e.tar.xz wireguard-openbsd-c983619838e326118949a4229ed1a7c5a1404f8e.zip |
Don't restart thrsleep after a signal. After a signal happened and we
weren't on the sleep queues, the condition we were sleeping on might
have changed, so we need to go back to userland and recheck that condition.
This fixes the majority of lockups and and hanging threads in rthreads
since it fixes a race in the semaphore code.
ok tedu@
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions