projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add missing m68k relocation types in elf.h
[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->tid ? -__syscall(SYS_tkill, t->tid, sig)
8
: (sig+0U >= _NSIG ? EINVAL : 0);
9
UNLOCK(t->killlock);
10
return r;
11
}