From ec64c81aa4ff7ebe3535ac667ae109cd398fb650 Mon Sep 17 00:00:00 2001 From: Todd Berman Date: Wed, 7 Dec 2005 05:42:46 +0000 Subject: [PATCH] 2005-12-06 Todd Berman * 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 | 6 ++++++ pthread_support.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 33ddf9bd..88a60782 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-06 Todd Berman + + * 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 * pthread_support.c (GC_thread_deregister_foreign): Make this return diff --git a/pthread_support.c b/pthread_support.c index 6ae56c47..8c3c5aa1 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -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; -- 2.40.0