projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9372655
)
remove no-longer-needed unblocking of signals in pthread_create
author
Rich Felker
<dalias@aerifal.cx>
Sat, 2 Jun 2012 23:56:18 +0000
(19:56 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 2 Jun 2012 23:56:18 +0000
(19:56 -0400)
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.
src/thread/pthread_create.c
patch
|
blob
|
history
diff --git
a/src/thread/pthread_create.c
b/src/thread/pthread_create.c
index ecf93a46617116fb6f7313e888256f16c1b1fde3..5b34e7e8bab6c2ed1d10f6a5857e3fcd91254572 100644
(file)
--- 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;
}