Branch: Tag:

2002-09-14

2002-09-14 02:50:50 by Martin Stjernholm <mast@lysator.liu.se>

Forgot a bit.

Rev: src/threads.c:1.183

1:   #include "global.h" - RCSID("$Id: threads.c,v 1.182 2002/09/14 02:46:27 mast Exp $"); + RCSID("$Id: threads.c,v 1.183 2002/09/14 02:50:50 mast Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;
184: Inside #if defined(PIKE_DEBUG)
  THREAD_T debug_locking_thread;   THREAD_T threads_disabled_thread = 0;   #endif + #ifdef INTERNAL_PROFILING + PMOD_EXPORT unsigned long thread_yields = 0; + #endif   PMOD_EXPORT MUTEX_T interpreter_lock;   MUTEX_T thread_table_lock, interleave_lock;   struct program *mutex_key = 0;