summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index e72e49f..8f56c48 100644
--- a/signal.c
+++ b/signal.c
@@ -167,6 +167,8 @@ pthread_sigmask (int how, sigset_t const *set, sigset_t * oset)
int
sigwait (const sigset_t * set, int *sig)
{
+ /* This routine is a cancellation point */
+ pthread_test_cancel();
}
int