pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.73 2000/02/17 00:31:16 hubbe Exp $ +  * $Id: threads.h,v 1.74 2000/02/20 10:23:21 hubbe Exp $    */   #ifndef THREADS_H   #define THREADS_H      #include "machine.h"   #include "interpret.h"   #include "object.h"   #include "error.h"      /* Needed for the sigset_t typedef, which is needed for
pike.git/src/threads.h:439: Inside #if defined(PIKE_DEBUG) && ! defined(DONT_HIDE_GLOBALS)
  #if defined(PIKE_DEBUG) && ! defined(DONT_HIDE_GLOBALS)   /* Note that scalar types are used in place of pointers and vice versa    * below. This is intended to cause compiler warnings/errors if    * there is an attempt to use the global variables in an unsafe    * environment.    */   #define HIDE_GLOBAL_VARIABLES() do { \    int Pike_sp = 0, Pike_evaluator_stack = 0, Pike_mark_sp = 0, Pike_mark_stack = 0, Pike_fp = 0; \    void *evaluator_stack_malloced = NULL, *mark_stack_malloced = NULL; \    int recoveries = 0, thread_id = 0; \ -  int error = 0, xalloc = 0, low_my_putchar = 0, low_my_binary_strcat = 0; \ -  int low_make_buf_space = 0, pop_n_elems = 0; \ +  int pop_n_elems = 0; \    int push_sp_mark = 0, pop_sp_mark = 0, threads_disabled = 1      /* Note that the semi-colon below is needed to add an empty statement    * in case there is a label before the macro.    */   #define REVEAL_GLOBAL_VARIABLES() ; } while(0)   #else /* PIKE_DEBUG */   #define HIDE_GLOBAL_VARIABLES()   #define REVEAL_GLOBAL_VARIABLES()   #endif /* PIKE_DEBUG */