pike.git / src / interpret.h

version» Context lines:

pike.git/src/interpret.h:603:    DO_IF_INTERNAL_PROFILING (evaluator_callback_calls++); \    call_callback(& evaluator_callbacks, NULL); \   }while(0)      #define check_threads_etc() do { \    DO_IF_DEBUG (if (Pike_interpreter.trace_level > 2) \    fprintf (stderr, "- thread yield point\n")); \    low_check_threads_etc(); \    } while (0)    - extern int fast_check_threads_counter; + PMOD_EXPORT extern int fast_check_threads_counter;      #define fast_check_threads_etc(X) do { \    DO_IF_DEBUG (if (Pike_interpreter.trace_level > 2) \    fprintf (stderr, "- thread yield point\n")); \    if (++fast_check_threads_counter >= (1 << (X))) { \    fast_check_threads_counter = 0; \    low_check_threads_etc(); \    } \    } while(0)