pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.81 2001/10/22 23:54:43 mast Exp $ +  * $Id: threads.h,v 1.82 2003/03/31 18:22:34 grubba 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:398:    (_tmp)->Pike_mark_stack=Pike_mark_stack;\    (_tmp)->mark_stack_malloced=mark_stack_malloced;\    (_tmp)->recoveries=recoveries;\    (_tmp)->Pike_sp=Pike_sp; \    (_tmp)->Pike_stack_top=Pike_stack_top; \    (_tmp)->thread_id=thread_id;\    DO_IF_PROFILING( (_tmp)->accounted_time=accounted_time; ) \    DO_IF_PROFILING( (_tmp)->time_base = gethrtime() - time_base; ) \    DO_IF_SECURITY( (_tmp)->current_creds = current_creds ;) \    SWAP_OUT_TRACE(_tmp); \ +  thread_id = (struct object *)-1; \    } while(0)      #define SWAP_IN_THREAD(_tmp) do {\    (_tmp)->swapped=0; \    Pike_evaluator_stack=(_tmp)->Pike_evaluator_stack;\    evaluator_stack_malloced=(_tmp)->evaluator_stack_malloced;\    debug_malloc_pass( Pike_fp=(_tmp)->Pike_fp );\    Pike_mark_sp=(_tmp)->Pike_mark_sp;\    Pike_mark_stack=(_tmp)->Pike_mark_stack;\    mark_stack_malloced=(_tmp)->mark_stack_malloced;\