pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:575:    */    Pike_interpreter.thread_state = ts;    ts->state = Pike_interpreter;    Pike_interpreter_pointer = &ts->state;    ts->id = th_self();    ts->status = THREAD_RUNNING;    ts->swapped = 0;    ts->interval_start = get_real_time();   #ifdef PIKE_DEBUG    ts->debug_flags = 0; +  ts->stepping_mode = 0;    thread_swaps++;   #endif   #ifdef USE_CLOCK_FOR_SLICES    /* Initialize thread_start_clock to zero instead of clock() since we    * don't know for how long the thread already has run. */    thread_start_clock = 0;    last_clocked_thread = ts->id;   #ifdef RDTSC    prev_tsc = 0;   #endif