projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change sem_trywait algorithm so it never has to call __wake
[musl]
/
src
/
thread
/
pthread_kill.c
diff --git
a/src/thread/pthread_kill.c
b/src/thread/pthread_kill.c
index
9d85fa5
..
36e9b6d
100644
(file)
--- a/
src/thread/pthread_kill.c
+++ b/
src/thread/pthread_kill.c
@@
-1,7
+1,6
@@
-#define SYSCALL_RETURN_ERRNO
#include "pthread_impl.h"
int pthread_kill(pthread_t t, int sig)
{
- return
syscall3(__NR
_tgkill, t->pid, t->tid, sig);
+ return
-__syscall(SYS
_tgkill, t->pid, t->tid, sig);
}