From 0a2bf64ef123d59d3f0a32c4b593c3320f2b819d Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Tue, 5 Aug 2008 23:36:34 +0200 Subject: [PATCH] Tuned down the exit noise from the thread cleanup-on-exit. Rev: src/threads.c:1.263 --- src/threads.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/threads.c b/src/threads.c index 775a11824c..3fedf46079 100644 --- a/src/threads.c +++ b/src/threads.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: threads.c,v 1.262 2008/08/05 21:23:46 mast Exp $ +|| $Id: threads.c,v 1.263 2008/08/05 21:36:34 mast Exp $ */ #include "global.h" @@ -2466,12 +2466,15 @@ void cleanup_all_other_threads (void) THREADS_DISALLOW(); } +#if 0 if (num_kills) { - fprintf (stderr, "Killed %d thread(s)", num_kills - num_pending_interrupts); + fprintf (stderr, "Killed %d thread(s) in exit cleanup", + num_kills - num_pending_interrupts); if (num_pending_interrupts) - fprintf (stderr, ", %d haven't responded", num_pending_interrupts); + fprintf (stderr, ", %d more haven't responded", num_pending_interrupts); fputs (".\n", stderr); } +#endif } #endif -- GitLab