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

Diff of /rtmk/i386/i386-thread.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by jrydberg, Mon Jan 7 01:09:57 2002 UTC revision 1.6 by jrydberg, Mon Jan 7 02:46:08 2002 UTC
# Line 121  void Line 121  void
121  load_context (struct thread *new_thread)  load_context (struct thread *new_thread)
122  {  {
123    active_threads [CPU_CURRENT ()] = new_thread;    active_threads [CPU_CURRENT ()] = new_thread;
124      if (! (new_thread->sched_state & THREAD_STATE_IDLE))
125        PROCESSOR_CURRENT()->state = PROCESSOR_STATE_RUNNING;
126      PROCESSOR_CURRENT()->current_thread = new_thread;
127    
128    PMAP_ACTIVATE (new_thread->task->map->pmap);    PMAP_ACTIVATE (new_thread->task->map->pmap);
129    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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