Rev 3665 | Rev 3745 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3665 | Rev 3742 | ||
---|---|---|---|
Line 482... | Line 482... | ||
482 | } |
482 | } |
483 | 483 | ||
484 | THREAD->state = Exiting; |
484 | THREAD->state = Exiting; |
485 | spinlock_unlock(&THREAD->lock); |
485 | spinlock_unlock(&THREAD->lock); |
486 | scheduler(); |
486 | scheduler(); |
487 | 487 | ||
488 | /* Not reached */ |
488 | /* Not reached */ |
489 | while (1) |
489 | while (1) |
490 | ; |
490 | ; |
491 | } |
491 | } |
492 | 492 |