Lines Matching refs:tgkill
4 Subject: [PATCH] src/client/linux/handler/exception_handler.cc: rename tgkill
10 Since glibc 2.30, a tgkill() function was added in the C library, and
14 src/client/linux/handler/exception_handler.cc:109:12: error: ‘int tgkill(pid_t, pid_t, int)’ was de…
15 109 | static int tgkill(pid_t tgid, pid_t tid, int sig) {
20 /usr/include/bits/signal_ext.h:29:12: note: previous declaration of ‘int tgkill(__pid_t, __pid_t, i…
21 29 | extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal);
25 tgkill() in commit
28 where the system C library will not necessarily provide tgkill().
42 // A wrapper for the tgkill syscall: send a signal to a specific thread.
43 -static int tgkill(pid_t tgid, pid_t tid, int sig) {
52 - if (tgkill(getpid(), syscall(__NR_gettid), sig) < 0) {