pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:55:   #endif      /* This is used for strapping the interpreter before the threads    * are loaded, and when there's no support for threads.    */   static struct Pike_interpreter_struct static_pike_interpreter;      PMOD_EXPORT struct Pike_interpreter_struct *Pike_interpreter_pointer =    &static_pike_interpreter;    + PMOD_EXPORT struct Pike_interpreter_struct * pike_get_interpreter_pointer() + { +  return Pike_interpreter_pointer; + }   #else /* CONFIGURE_TEST */   #include "pike_threadlib.h"   #endif      #ifndef VERBOSE_THREADS_DEBUG   #define THREADS_FPRINTF(LEVEL,FPRINTF_ARGS)   #else   #define THREADS_FPRINTF(LEVEL,FPRINTF_ARGS) do { \    if ((VERBOSE_THREADS_DEBUG + 0) >= (LEVEL)) { \    /* E.g. THREADS_DISALLOW is used in numerous places where the */ \