2019-01-20 22:55:31 +01:00
|
|
|
diff -u -r ../gc-8.0.2/pthread_stop_world.c ./pthread_stop_world.c
|
|
|
|
--- ../gc-8.0.2/pthread_stop_world.c 2018-12-23 21:28:41.000000000 +0000
|
|
|
|
+++ ./pthread_stop_world.c 2019-01-20 19:48:08.502759151 +0000
|
|
|
|
@@ -502,7 +502,8 @@
|
2016-08-14 23:11:16 +02:00
|
|
|
|
|
|
|
# ifdef USE_TKILL_ON_ANDROID
|
2019-01-20 22:55:31 +01:00
|
|
|
EXTERN_C_BEGIN
|
2016-08-14 23:11:16 +02:00
|
|
|
- extern int tkill(pid_t tid, int sig); /* from sys/linux-unistd.h */
|
|
|
|
+ static int tkill(pid_t tid, int sig) { return tgkill(-1, tid, sig); }
|
2019-01-20 22:55:31 +01:00
|
|
|
+
|
|
|
|
EXTERN_C_END
|
2016-08-14 23:11:16 +02:00
|
|
|
|
|
|
|
static int android_thread_kill(pid_t tid, int sig)
|