pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:380:      static struct callback *threads_evaluator_callback=0;      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;   PMOD_EXPORT cpu_time_t threads_disabled_acc_time = 0;   PMOD_EXPORT cpu_time_t threads_disabled_start = 0;      #ifdef PIKE_DEBUG   /* NB: Accessed from error.c:debug_va_fatal(). */ - extern THREAD_T threads_disabled_thread = 0; + THREAD_T threads_disabled_thread = 0;   #endif   #ifdef INTERNAL_PROFILING   PMOD_EXPORT unsigned long thread_yields = 0;   #endif   static int th_running = 0;   static PIKE_MUTEX_T interpreter_lock;   static PIKE_MUTEX_T interpreter_lock_wanted;   PIKE_MUTEX_T thread_table_lock;   static PIKE_MUTEX_T interleave_lock;   static struct program *mutex_program = NULL;