From: ivmai Date: Thu, 5 Nov 2009 15:44:07 +0000 (+0000) Subject: 2009-11-05 Ivan Maidanski X-Git-Tag: gc7_2alpha4~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e5da3f5934af8c6df525256d4e43fb5534af4bb;p=gc 2009-11-05 Ivan Maidanski * pthread_support.c (GC_inner_start_routine): Join 3 sequential GC_printf() calls into a single one (for DEBUG_THREADS). --- diff --git a/ChangeLog b/ChangeLog index 0698d650..62606494 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-11-05 Ivan Maidanski + + * pthread_support.c (GC_inner_start_routine): Join 3 sequential + GC_printf() calls into a single one (for DEBUG_THREADS). + 2009-11-05 Ivan Maidanski * include/private/gc_priv.h (GC_total_stacksize): New variable diff --git a/pthread_support.c b/pthread_support.c index 84aa89fe..e2e09006 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -1195,9 +1195,8 @@ STATIC void * GC_CALLBACK GC_inner_start_routine(struct GC_stack_base *sb, my_pthread = pthread_self(); # ifdef DEBUG_THREADS - GC_printf("Starting thread 0x%x\n", (unsigned)my_pthread); - GC_printf("pid = %ld\n", (long) getpid()); - GC_printf("sp = %p\n", &arg); + GC_printf("Starting thread 0x%x, pid = %ld, sp = %p\n", + (unsigned)my_pthread, (long) getpid(), &arg); # endif LOCK(); me = GC_register_my_thread_inner(sb, my_pthread);