summaryrefslogtreecommitdiff
path: root/games/adventure/crc.c
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2008-10-03 04:22:38 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2008-10-03 04:22:38 +0000
commitde488b267d2252ee7bce9afcebd3687ddb07a80c (patch)
tree722e4ec54122d91fef8a58e21dfe2a8c6c719fc8 /games/adventure/crc.c
parentbc88e179cfce53de0abe82ca519bfa191ea45a16 (diff)
Make sigwait() work correctly. In particular, it'll work when the
signal is already pending in the calling thread or the main thread and there's no longer a race condition where the signal could be diverted but sigwait() would still block. There were some off-by-one errors too. (The checking of the main thread's pending list is just until a pending list for the process can be added to struct process. For now, such signals end up as pending on the main thread.) oks tedu@ and art@
Diffstat (limited to 'games/adventure/crc.c')
0 files changed, 0 insertions, 0 deletions