summaryrefslogtreecommitdiff
path: root/lib/thread.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-09-02 16:25:00 -0400
committerMark Stapp <mjs@voltanet.io>2020-10-26 16:46:40 -0400
commit976c5cc134bb96f309479d281d771d70dbe41f13 (patch)
treec1ec4e9566e8844566afa1e220b52257a415e500 /lib/thread.c
parentd878460c8cc9a60200843f127b2d22cebfb42229 (diff)
lib: add sigevent_check api
Add an api that blocks application-handled signals (SIGINT, SIGTERM, e.g.) then tests whether any signals have been received. This helps to manage a race between signal reception and the poll call in the main event loop. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/thread.c')
0 files changed, 0 insertions, 0 deletions