aboutsummaryrefslogtreecommitdiff
path: root/libjava/win32-threads.cc
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2006-06-19 14:10:02 +0000
committerKeith Seitz <kseitz@gcc.gnu.org>2006-06-19 14:10:02 +0000
commit4307d0dbf9a4ad8923df89e857bbe09a8b5edc20 (patch)
treecba1686875bb38c64a587e119f6080157e135309 /libjava/win32-threads.cc
parent7e665d18088d627471f61fd2917f98ff17fccf4b (diff)
downloadgcc-4307d0dbf9a4ad8923df89e857bbe09a8b5edc20.zip
gcc-4307d0dbf9a4ad8923df89e857bbe09a8b5edc20.tar.gz
gcc-4307d0dbf9a4ad8923df89e857bbe09a8b5edc20.tar.bz2
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
Diffstat (limited to 'libjava/win32-threads.cc')
-rw-r--r--libjava/win32-threads.cc19
1 files changed, 18 insertions, 1 deletions
diff --git a/libjava/win32-threads.cc b/libjava/win32-threads.cc
index 35a16cd..92b569e 100644
--- a/libjava/win32-threads.cc
+++ b/libjava/win32-threads.cc
@@ -1,6 +1,6 @@
// win32-threads.cc - interface between libjava and Win32 threads.
-/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software
+/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2006 Free Software
Foundation, Inc.
This file is part of libgcj.
@@ -419,3 +419,20 @@ _Jv_ThreadInterrupt (_Jv_Thread_t *data)
SetEvent (data->interrupt_event);
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;
+}
+