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 |
|
|
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; |