remove no-longer-needed unblocking of signals in pthread_create
[musl] / src / thread / pthread_kill.c
1 #include "pthread_impl.h"
2
3 int pthread_kill(pthread_t t, int sig)
4 {
5         int r;
6         __lock(&t->killlock);
7         r = t->dead ? ESRCH : -__syscall(SYS_tgkill, t->pid, t->tid, sig);
8         a_store(&t->killlock, 0);
9         return r;
10 }