// -*- 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 *mu)
+inline int _Jv_MutexCheckMonitor (_Jv_Mutex_t *)
{
return 0;
}
_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 *data)
+_Jv_ThreadRegister (_Jv_Thread_t *)
{
}