pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:23:   #define THREAD_NOT_STARTED -1   #define THREAD_RUNNING 0   #define THREAD_EXITED 1      /* 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. */    + #define THREAD_FLAG_INHIBIT 4 /* Inhibit signals. */ +    /* Debug flags */   #define THREAD_DEBUG_LOOSE 1 /* Thread is not bound to the interpreter. */      struct thread_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;