diff options
Diffstat (limited to 'libjava/boehm.cc')
-rw-r--r-- | libjava/boehm.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libjava/boehm.cc b/libjava/boehm.cc index a6f7fdf4826..7b2c031730b 100644 --- a/libjava/boehm.cc +++ b/libjava/boehm.cc @@ -673,3 +673,14 @@ _Jv_RegisterLibForGc (const void *p __attribute__ ((__unused__))) #endif } +void +_Jv_SuspendThread (_Jv_Thread_t *thread) +{ + GC_suspend_thread (_Jv_GetPlatformThreadID (thread)); +} + +void +_Jv_ResumeThread (_Jv_Thread_t *thread) +{ + GC_resume_thread (_Jv_GetPlatformThreadID (thread)); +} |