pike.git / src / interpret.h

version» Context lines:

pike.git/src/interpret.h:1:   /*\   ||| 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: interpret.h,v 1.110 2002/08/15 14:49:21 marcus Exp $ +  * $Id: interpret.h,v 1.111 2002/09/14 02:46:27 mast Exp $    */   #ifndef INTERPRET_H   #define INTERPRET_H      #include "global.h"   #include "program.h"   #include "pike_error.h"   #include "bignum.h"      struct Pike_interpreter {
pike.git/src/interpret.h:322:    } \    if (c_fun_ != -1) { \    safe_apply_low(c_, c_fun_, ARGS); \    break; \    } \    } \    SAFE_APPLY_MASTER(FUN, ARGS); \    } while(0)       + #ifdef INTERNAL_PROFILING + PMOD_EXPORT extern unsigned long evaluator_callback_calls; + #endif +    #define check_threads_etc() do { \ -  +  DO_IF_INTERNAL_PROFILING (evaluator_callback_calls++); \    call_callback(& evaluator_callbacks, (void *)0); \   }while(0)      #ifdef PIKE_DEBUG   #define fast_check_threads_etc(X) do { \    static int div_; if(d_flag || !(div_++& ((1<<(X))-1))) check_threads_etc(); } while(0)      #else   #define fast_check_threads_etc(X) do { \    static int div_; if(!(div_++& ((1<<(X))-1))) check_threads_etc(); } while(0)