pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.115 2002/09/14 02:58:49 mast Exp $ +  * $Id: threads.h,v 1.116 2002/09/14 03:03:05 mast Exp $    */   #ifndef THREADS_H   #define THREADS_H      #include "machine.h"   #include "object.h"   #include "pike_error.h"   #include "interpret.h"      /* Needed for the sigset_t typedef, which is needed for
pike.git/src/threads.h:399: Inside #if undefined(TH_STDCALL)
     #ifndef TH_STDCALL   #define TH_STDCALL   #endif      #ifndef th_destroy   #define th_destroy(X)   #endif      #ifndef th_yield - #define th_yield() + #ifdef HAVE_THR_YIELD + #define th_yield() thr_yield() + #else + #define th_yield() 0 + #define HAVE_NO_YIELD   #endif -  + #endif      #ifndef th_equal   #define th_equal(X,Y) (!MEMCMP(&(X),&(Y),sizeof(THREAD_T)))   #endif      #ifndef th_hash   #define th_hash(X) hashmem((unsigned char *)&(X),sizeof(THREAD_T), 16)   #endif      #if !defined(HAVE_GETHRTIME) && defined(HAVE_CLOCK)