Branch: Tag:

2008-09-09

2008-09-09 16:46:35 by Martin Stjernholm <mast@lysator.liu.se>

Indicate hex thread ids clearly.

Rev: src/threads.c:1.264

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.263 2008/08/05 21:36:34 mast Exp $ + || $Id: threads.c,v 1.264 2008/09/09 16:46:35 mast Exp $   */      #include "global.h"
286: Inside #if defined(PIKE_DEBUG)
  PMOD_EXPORT const char msg_ip_not_locked_this_thr[] =    "Interpreter not locked by this thread.\n";   PMOD_EXPORT const char msg_thr_swapped_over[] = -  "Thread %08x swapped in over existing thread %08x.\n"; +  "Thread 0x%08x swapped in over existing thread 0x%08x.\n";   PMOD_EXPORT const char msg_saved_thread_id[] =    "Saved thread id: ";   PMOD_EXPORT const char msg_swap_in_cur_thr_failed[] =
302: Inside #if defined(PIKE_DEBUG)
   "Threads allowed during garbage collection (pass %d).\n";   PMOD_EXPORT const char msg_thr_allow_in_disabled[] =    "Threads allowed from a different thread " -  "while threads are disabled. (self: %08x, disabler: %08x)\n"; +  "while threads are disabled. (self: 0x%08x, disabler: 0x%08x)\n";   PMOD_EXPORT const char msg_global_dynbuf_in_use[] =    "Threads allowed while the global dynamic buffer is in use.\n";   #endif