summaryrefslogtreecommitdiffstats
path: root/lib/libkse/thread/thr_sigmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkse/thread/thr_sigmask.c')
-rw-r--r--lib/libkse/thread/thr_sigmask.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libkse/thread/thr_sigmask.c b/lib/libkse/thread/thr_sigmask.c
index bdb0b43..53d0774 100644
--- a/lib/libkse/thread/thr_sigmask.c
+++ b/lib/libkse/thread/thr_sigmask.c
@@ -81,6 +81,9 @@ pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
break;
}
+ /* Increment the sequence number: */
+ _thread_run->sigmask_seqno++;
+
/*
* Check if there are pending signals for the running
* thread or process that aren't blocked:
OpenPOWER on IntegriCloud