boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration, just the contents.

* boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
        just the contents.
        (_Jv_ResumeThread): Likewise.
        * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
        _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
        to JVMTI instead.
        * include/posix-threads.h: Likewise.
        * win32-threads.cc: Likewise.
        * include/win32-threads.h: Likewise.
        * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
        (_Jv_JVMTI_ResumeThread): New function.
        (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.

From-SVN: r115655
This commit is contained in:
Keith Seitz 2006-07-21 23:45:03 +00:00 committed by Keith Seitz
parent 2e5757965d
commit 303f32ccd7
7 changed files with 71 additions and 67 deletions

View file

@ -420,19 +420,3 @@ _Jv_ThreadInterrupt (_Jv_Thread_t *data)
LeaveCriticalSection (&data->interrupt_mutex);
}
void
_Jv_ThreadDebugSuspend (_Jv_Thread_t *data)
{
}
void
_Jv_ThreadDebugResume (_Jv_Thread_t *data)
{
}
jint
_Jv_ThreadDebugSuspendCount (_Jv_Thread_t *data)
{
return -1;
}