pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:27:      /* 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. */ + #define THREAD_DEBUG_LOOSE 1 /* Thread is not bound to the interpreter. */ + #define THREAD_DEBUG_STEPPING 2 /* Debugger stepping mode. */      struct thread_state {    struct Pike_interpreter_struct state;    struct object *thread_obj; /* NOTE: Not ref-counted! */    struct mapping *thread_locals;    struct thread_state *hashlink, **backlink;    struct svalue result;    COND_T status_change;    THREAD_T id;    cpu_time_t interval_start; /* real_time at THREADS_DISALLOW(). */