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

Diff of /rtmk/thread.c

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

revision 1.16 by jrydberg, Sat Feb 16 15:17:16 2002 UTC revision 1.17 by jrydberg, Sun Feb 17 17:54:57 2002 UTC
# Line 603  thread_wakeup_generic (int event, bool o Line 603  thread_wakeup_generic (int event, bool o
603            spin_unlock (&wait_locks [hash_index]);            spin_unlock (&wait_locks [hash_index]);
604            thread_setrun (thread, true);            thread_setrun (thread, true);
605            spin_lock (&wait_locks [hash_index]);            spin_lock (&wait_locks [hash_index]);
606    
607              if (one_p)
608                break;
609          }          }
610        else        else
611          thread_unlock (thread);          thread_unlock (thread);
612    
       if (one_p)  
         break;  
   
613        thread = next_thread;        thread = next_thread;
614      }      }
615    
# Line 746  thread_will_priority (struct thread *thr Line 746  thread_will_priority (struct thread *thr
746    
747    spl = SPLOFF ();    spl = SPLOFF ();
748    
749  #if DIAGNOSTICS  #if 0
750    do    do
751      {      {
752        struct thread *t1 = thread, *t2;        struct thread *t1 = thread, *t2;

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

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