diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-09-21 15:57:59 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2020-10-28 16:31:54 -0400 |
| commit | d81ca9a3faabe54f57b11acf87585e48d3a44480 (patch) | |
| tree | 474f19cec6bb503b6a99d3940867a5fd5199f134 /zebra/kernel_socket.c | |
| parent | 1543c387be3bd45a68ef1382f07234cd71cac7de (diff) | |
lib: avoid signal-handling race with event loop poll call
Manage the main pthread's signal mask to avoid a signal-handling
race. Before entering poll, check for pending signals that the
application needs to handle. Use ppoll() to re-enable those
signals during the poll call.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions
