Parent Directory | Revision Log | Patch
revision 1.17 by jrydberg, Sun Feb 17 17:54:57 2002 UTC | revision 1.18 by jrydberg, Sun Feb 17 23:41:39 2002 UTC | |
---|---|---|
# | Line 442 thread_invoke (struct thread *old_thread | Line 442 thread_invoke (struct thread *old_thread |
442 | old_thread->sched_state |= THREAD_STATE_SWAPPED; | old_thread->sched_state |= THREAD_STATE_SWAPPED; |
443 | old_thread->swap_fn = continuation; | old_thread->swap_fn = continuation; |
444 | ||
445 | trace_count (stack_handoffs++); | |
446 | ||
447 | if ((old_thread->sched_state & THREAD_SCHED_STATE) | if ((old_thread->sched_state & THREAD_SCHED_STATE) |
448 | == THREAD_STATE_RUN) | == THREAD_STATE_RUN) |
449 | thread_setrun (old_thread, false); | thread_setrun (old_thread, false); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |