]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
boehm.cc (_Jv_SuspendThread, [...]): Define conditionally on GC_PTHREADS...
authorMarco Trudel <mtrudel@gmx.ch>
Tue, 27 Jun 2006 17:34:23 +0000 (19:34 +0200)
committerThomas Fitzsimmons <fitzsim@gcc.gnu.org>
Tue, 27 Jun 2006 17:34:23 +0000 (17:34 +0000)
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

libjava/ChangeLog
libjava/boehm.cc

index e6d1bbb69acaebaa3f1907f06f5906b3d7be2848..b6cbcf088fe6d739539125bcfb5f524c3bb9ce05 100644 (file)
@@ -1,3 +1,9 @@
+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:
index 7b2c031730b040956ee3390a13f5b66de85bf279..b8bd3a11e1881d9050b475a5cd1e9ac14dc7fadc 100644 (file)
@@ -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