@@ -203,10 +203,7 @@ __pthread_create_internal (struct __pthread **thread,
creating thread. The set of signals pending for the new thread
shall be empty." If the current thread is not a pthread then we
just inherit the process' sigmask. */
- if (GL (dl_pthread_num_threads) == 1)
- err = __sigprocmask (0, 0, &pthread->init_sigset);
- else
- err = __pthread_sigstate (_pthread_self (), 0, 0, &pthread->init_sigset, 0);
+ err = __pthread_sigmask (0, 0, &pthread->init_sigset);
assert_perror (err);
if (start_routine)