diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-06-02 19:56:18 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-06-02 19:56:18 -0400 |
commit | 1e597a3e9bbdbe82d2ffd3963019d3a3edeed859 (patch) | |
tree | 0b0024df5f8849da9e4529f870ffdd4d7cc0ea59 /src | |
parent | 9372655e884b3829c6639fc1a6047b2569f3c3ec (diff) | |
download | musl-1e597a3e9bbdbe82d2ffd3963019d3a3edeed859.tar.gz |
remove no-longer-needed unblocking of signals in pthread_create
this action is now performed in pthread_self initialization; it must
be performed there in case the first call to pthread_create is from a
signal handler, in which case the old signal mask could be restored on
return from the signal.
Diffstat (limited to 'src')
-rw-r--r-- | src/thread/pthread_create.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c index ecf93a46..5b34e7e8 100644 --- a/src/thread/pthread_create.c +++ b/src/thread/pthread_create.c @@ -95,7 +95,6 @@ int pthread_create(pthread_t *res, const pthread_attr_t *attr, void *(*entry)(vo init_file_lock(__stdin_used); init_file_lock(__stdout_used); init_file_lock(__stderr_used); - __syscall(SYS_rt_sigprocmask, SIG_UNBLOCK, SIGPT_SET, 0, 8); libc.threaded = 1; } |