]> granicus.if.org Git - gc/commitdiff
2005-12-06 Todd Berman <tberman@off.net>
authorTodd Berman <tberman@mono-cvs.ximian.com>
Wed, 7 Dec 2005 05:42:46 +0000 (05:42 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 11:27:41 +0000 (15:27 +0400)
* pthread_support.c (GC_thread_register_foreign): Wrap a GC_printf1
inside a #ifdef DEBUG_THREADS like the others. Based on a patch from
Bryan Berg (bryan AT imeem DOT com).

svn path=/trunk/mono/; revision=54020

ChangeLog
pthread_support.c

index 33ddf9bdf09580524bba23a8fbaa0e005523b049..88a607828f6486014b14411f2fbe9241a3bc778d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-12-06  Todd Berman  <tberman@off.net>
+
+       * pthread_support.c (GC_thread_register_foreign): Wrap a GC_printf1
+       inside a #ifdef DEBUG_THREADS like the others. Based on a patch from
+       Bryan Berg (bryan AT imeem DOT com).
+
 2005-10-11  Zoltan Varga  <vargaz@gmail.com>
  
        * pthread_support.c (GC_thread_deregister_foreign): Make this return
index 6ae56c4711250887a27bd9c0638126112b5ec59b..8c3c5aa16c4a7ff50337cb0c779b5ad106daa174 100644 (file)
@@ -1244,7 +1244,9 @@ int GC_thread_register_foreign (void *base_addr)
     struct start_info si = { 0, }; /* stacked for legibility & locking */
     GC_thread me;
 
-    GC_printf1( "GC_thread_register_foreign %p\n", &si );
+#   ifdef DEBUG_THREADS
+        GC_printf1( "GC_thread_register_foreign %p\n", &si );
+#   endif
 
     si.flags = FOREIGN_THREAD;