summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2007-03-18 10:46:51 +0000
committerart <art@openbsd.org>2007-03-18 10:46:51 +0000
commitc983619838e326118949a4229ed1a7c5a1404f8e (patch)
tree7573353401a4f3a56f4efaffd8cccf893cd0b20f /usr.bin/diff/diffreg.c
parentsync for UP2000 (diff)
downloadwireguard-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