Commit 776862dd by Marco Trudel Committed by Thomas Fitzsimmons

boehm.cc (_Jv_SuspendThread, [...]): Define conditionally on GC_PTHREADS...

2006-06-27  Marco Trudel  <mtrudel@gmx.ch>

	* boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
	conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
	!GC_WIN32_THREADS and !GC_DARWIN_THREADS.

From-SVN: r115036
parent 10caa6ef
2006-06-27 Marco Trudel <mtrudel@gmx.ch>
* boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
!GC_WIN32_THREADS and !GC_DARWIN_THREADS.
2006-06-27 Tom Tromey <tromey@redhat.com>
PR libgcj/28178:
......
......@@ -673,6 +673,9 @@ _Jv_RegisterLibForGc (const void *p __attribute__ ((__unused__)))
#endif
}
#if defined(GC_PTHREADS) && !defined(GC_SOLARIS_THREADS) \
&& !defined(GC_WIN32_THREADS) && !defined(GC_DARWIN_THREADS)
void
_Jv_SuspendThread (_Jv_Thread_t *thread)
{
......@@ -684,3 +687,5 @@ _Jv_ResumeThread (_Jv_Thread_t *thread)
{
GC_resume_thread (_Jv_GetPlatformThreadID (thread));
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment