From 4e5da3f5934af8c6df525256d4e43fb5534af4bb Mon Sep 17 00:00:00 2001 From: ivmai Date: Thu, 5 Nov 2009 15:44:07 +0000 Subject: [PATCH] 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). --- ChangeLog | 5 +++++ pthread_support.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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); -- 2.40.0