Branch: Tag:

2008-08-05

2008-08-05 21:43:26 by Martin Stjernholm <mast@lysator.liu.se>

Slightly more informational message when the cleanup-on-exit is
aborted due to remaining threads.

Rev: src/module.c:1.58

2:   || 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: module.c,v 1.57 2008/08/05 21:23:46 mast Exp $ + || $Id: module.c,v 1.58 2008/08/05 21:43:26 mast Exp $   */      #include "global.h"
167: Inside #if defined(DO_PIKE_CLEANUP) and #if defined(PIKE_THREADS)
  #ifdef PIKE_THREADS    if(count_pike_threads())    { -  fprintf(stderr,"Byte counting aborted, because all threads have not exited properly.\n"); +  fprintf(stderr,"Cleanup-on-exit aborted " +  "because %d thread(s) still are running.\n", +  count_pike_threads());    exit_with_cleanup = 0;    return;    }