Commit | Line | Data |
---|---|---|
207d97f7 FF |
1 | diff -u -r ../gc-7.6.0/pthread_stop_world.c ./pthread_stop_world.c |
2 | --- ../gc-7.6.0/pthread_stop_world.c 2016-08-02 15:36:14.000000000 -0400 | |
3 | +++ ./pthread_stop_world.c 2016-08-14 16:52:41.334806302 -0400 | |
4 | @@ -365,7 +365,7 @@ | |
5 | } | |
6 | ||
7 | # ifdef USE_TKILL_ON_ANDROID | |
8 | - extern int tkill(pid_t tid, int sig); /* from sys/linux-unistd.h */ | |
9 | + static int tkill(pid_t tid, int sig) { return tgkill(-1, tid, sig); } | |
10 | ||
11 | static int android_thread_kill(pid_t tid, int sig) | |
12 | { |