// -*- c++ -*-
// no-threads.h - Defines for using no threads.
-/* Copyright (C) 1998, 1999 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2004, 2006 Free Software Foundation
This file is part of libgcj.
typedef int _Jv_ConditionVariable_t;
typedef int _Jv_Mutex_t;
-typedef int _Jv_Thread_t;
typedef void _Jv_ThreadStartFunc (java::lang::Thread *);
+//
+// Declarations
+//
+
+class _Jv_Thread_t { };
//
// Condition variables.
// Mutexes.
//
+inline int _Jv_MutexCheckMonitor (_Jv_Mutex_t *)
+{
+ return 0;
+}
+
inline void
_Jv_MutexInit (_Jv_Mutex_t *)
{
{
}
-inline _Jv_Thread_t *
-_Jv_ThreadInitData (java::lang::Thread *)
-{
- return NULL;
-}
+_Jv_Thread_t *
+_Jv_ThreadInitData (java::lang::Thread *);
inline void
-_Jv_ThreadDestroyData (_Jv_Thread_t *data)
+_Jv_ThreadDestroyData (_Jv_Thread_t *)
{
}
{
}
+inline void
+_Jv_ThreadRegister (_Jv_Thread_t *)
+{
+}
+
+inline void
+_Jv_ThreadUnRegister (void)
+{
+}
+
void _Jv_ThreadStart (java::lang::Thread *, _Jv_Thread_t *,
_Jv_ThreadStartFunc *meth);