summaryrefslogtreecommitdiff
path: root/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'create.c')
-rw-r--r--create.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/create.c b/create.c
index c017b61..292097d 100644
--- a/create.c
+++ b/create.c
@@ -90,6 +90,13 @@ pthread_create (pthread_t * tid,
{
stackSize = (*attr)->stacksize;
thread->detachState = (*attr)->detachstate;
+
+#if HAVE_SIGSET_T
+
+ thread->sigmask = (*attr)->sigmask;
+
+#endif /* HAVE_SIGSET_T */
+
}
else
{