chiark / gitweb /
Simplify code to clear pending SIGALRM.
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 24 Nov 2018 01:57:33 +0000 (01:57 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 8 Dec 2018 22:30:09 +0000 (22:30 +0000)
commitd826d1933adeca7b707e28b9f4025147c9d04af8
treed9a3bd0fdf7f50575cb07036432b46d2d9bac67f
parent9792e6db46cf22e30a9b32acc45d110a343f828d
Simplify code to clear pending SIGALRM.

A simple sigtimedwait() with a timeout of zero will do.  No need to
muck about with sigpending().
clunk.c