Rev 907 | Rev 1062 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 907 | Rev 1007 | ||
---|---|---|---|
Line 293... | Line 293... | ||
293 | /* |
293 | /* |
294 | * This is the place where threads leave scheduler(); |
294 | * This is the place where threads leave scheduler(); |
295 | */ |
295 | */ |
296 | spinlock_unlock(&THREAD->lock); |
296 | spinlock_unlock(&THREAD->lock); |
297 | interrupts_restore(THREAD->saved_context.ipl); |
297 | interrupts_restore(THREAD->saved_context.ipl); |
- | 298 | ||
298 | return; |
299 | return; |
299 | } |
300 | } |
300 | 301 | ||
301 | /* |
302 | /* |
302 | * Interrupt priority level of preempted thread is recorded here |
303 | * Interrupt priority level of preempted thread is recorded here |