/[rtmk]/rtmk/thread.c
ViewVC logotype

Diff of /rtmk/thread.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26