Branch: Tag:

2003-05-02

2003-05-02 17:28:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Even more information from thread_low_error().

Rev: src/pike_threadlib.h:1.45
Rev: src/threads.c:1.217

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: threads.c,v 1.216 2003/05/02 15:42:52 grubba Exp $ + || $Id: threads.c,v 1.217 2003/05/02 17:28:22 grubba Exp $   */      #ifndef CONFIGURE_TEST   #include "global.h" - RCSID("$Id: threads.c,v 1.216 2003/05/02 15:42:52 grubba Exp $"); + RCSID("$Id: threads.c,v 1.217 2003/05/02 17:28:22 grubba Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;
51:   #include "pike_threadlib.h"   #endif /* !CONFIGURE_TEST */    - PMOD_EXPORT void thread_low_error (int errcode, const char *fname, int lineno) + PMOD_EXPORT void thread_low_error (int errcode, const char *cmd, +  const char *fname, int lineno)   { -  Pike_fatal ("%s:%d: Unexpected error from thread function: %d\n", -  fname, lineno, errcode); +  Pike_fatal ("%s:%d: %s\n" +  "Unexpected error from thread function: %d\n", +  fname, lineno, cmd, errcode);   }      /* SCO magic... */