posix-threads.h (_Jv_ThreadDebugSuspend): Declare.

* include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare.
        (_Jv_ThreadDebugResume): Declare.
        (_Jv_ThreadDebugSuspendCount): Declare.
        * posix-threads.cc (_Jv_ThreadDebugSuspend): New function.
        (_Jv_ThreadDebugSuspendCount): New function.
        (_Jv_ThreadDebugResume): New function.

        * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare.
        (_Jv_ThreadDebugResume): Declare.
        (_Jv_ThreadDebugSuspendCount): Declare.
        * win32-threads.cc (_Jv_ThreadDebugSuspend): New function.
        (_Jv_ThreadDebugSuspendCount): New function.
        (_Jv_ThreadDebugResume): New function.

From-SVN: r114769
This commit is contained in:
Keith Seitz 2006-06-19 14:10:02 +00:00 committed by Keith Seitz
parent 7e665d1808
commit 4307d0dbf9
5 changed files with 82 additions and 4 deletions

View file

@ -1,6 +1,6 @@
// posix-threads.cc - interface between libjava and POSIX threads.
/* Copyright (C) 1998, 1999, 2000, 2001, 2004 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000, 2001, 2004, 2006 Free Software Foundation
This file is part of libgcj.
@ -505,6 +505,22 @@ _Jv_ThreadWait (void)
pthread_mutex_unlock (&daemon_mutex);
}
void
_Jv_ThreadDebugSuspend (_Jv_Thread_t* data)
{
}
void
_Jv_ThreadDebugResume (_Jv_Thread_t* data)
{
}
jint
_Jv_ThreadDebugSuspendCount (_Jv_Thread_t* data)
{
return -1;
}
#if defined(SLOW_PTHREAD_SELF)
#include "sysdep/locks.h"