server: Use tgkill to send signals on x86_64 too.
This commit is contained in:
parent
c8861296b1
commit
10b6d6ba4d
|
@ -219,7 +219,7 @@ static inline int tkill( int tgid, int pid, int sig )
|
||||||
ret = syscall(238 /*SYS_tkill*/, pid, sig);
|
ret = syscall(238 /*SYS_tkill*/, pid, sig);
|
||||||
return ret;
|
return ret;
|
||||||
# elif defined(__x86_64__)
|
# elif defined(__x86_64__)
|
||||||
return syscall(200 /*SYS_tkill*/, pid, sig);
|
return syscall(234 /*SYS_tgkill*/, tgid, pid, sig);
|
||||||
# else
|
# else
|
||||||
errno = ENOSYS;
|
errno = ENOSYS;
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue