summaryrefslogtreecommitdiff
path: root/pthread_stop_world.c
diff options
context:
space:
mode:
authorivmai <ivmai>2011-04-19 19:49:22 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:58 +0200
commitaf1726c615b5af04e3fe20b8782c1560aac41f7f (patch)
tree60b2b557863400625cd6af50726472a84a63df7e /pthread_stop_world.c
parenta7dc8fe712e7a11ae12ce9ec2b1f3f6faf068f4b (diff)
2011-04-19 Ivan Maidanski <ivmai@mail.ru>
* misc.c (GC_parse_mem_size_arg): New function. * misc.c (GC_init): Use GC_parse_mem_size_arg(). * pthread_stop_world.c (tkill): Declare for Android.
Diffstat (limited to 'pthread_stop_world.c')
-rw-r--r--pthread_stop_world.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pthread_stop_world.c b/pthread_stop_world.c
index 4ec6fe1..af0c62e 100644
--- a/pthread_stop_world.c
+++ b/pthread_stop_world.c
@@ -375,6 +375,8 @@ GC_INNER void GC_push_all_stacks(void)
#endif
#ifdef PLATFORM_ANDROID
+ extern int tkill(pid_t tid, int sig); /* from sys/linux-unistd.h */
+
static int android_thread_kill(pid_t tid, int sig)
{
int ret;