pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:28:   /* Thread flags */   #define THREAD_FLAG_TERM 1 /* Pending termination. */   #define THREAD_FLAG_INTR 2 /* Pending interrupt. */      #define THREAD_FLAG_SIGNAL_MASK 3 /* All of the above. */      /* Debug flags */   #define THREAD_DEBUG_LOOSE 1 /* Thread is not bound to the interpreter. */      struct thread_state { -  struct Pike_interpreter state; +  struct Pike_interpreter_struct state;    struct object *thread_obj; /* NOTE: Not ref-counted! */    struct mapping *thread_local;    struct thread_state *hashlink, **backlink;    struct svalue result;    COND_T status_change;    THREAD_T id;   #ifdef CPU_TIME_MIGHT_BE_THREAD_LOCAL    cpu_time_t auto_gc_time;   #endif    unsigned short waiting; /* Threads waiting on status_change. */