projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eliminate use of cached pid from thread structure
[oweals/musl.git]
/
src
/
thread
/
pthread_kill.c
diff --git
a/src/thread/pthread_kill.c
b/src/thread/pthread_kill.c
index d9a5096a06751781cc3c5d6ac5c923b7cc78d500..acdb1ea6173c27284ed946a63831855908f28f19 100644
(file)
--- a/
src/thread/pthread_kill.c
+++ b/
src/thread/pthread_kill.c
@@
-4,7
+4,7
@@
int pthread_kill(pthread_t t, int sig)
{
int r;
__lock(t->killlock);
- r = t->dead ? ESRCH : -__syscall(SYS_t
gkill, t->pid
, t->tid, sig);
+ r = t->dead ? ESRCH : -__syscall(SYS_t
kill
, t->tid, sig);
__unlock(t->killlock);
return r;
}