Subversion Repositories HelenOS

Rev

Rev 2283 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2283 Rev 2292
Line 236... Line 236...
236
 
236
 
237
    i = (t->priority < RQ_COUNT - 1) ? ++t->priority : t->priority;
237
    i = (t->priority < RQ_COUNT - 1) ? ++t->priority : t->priority;
238
   
238
   
239
    cpu = CPU;
239
    cpu = CPU;
240
    if (t->flags & THREAD_FLAG_WIRED) {
240
    if (t->flags & THREAD_FLAG_WIRED) {
241
        ASSERT(t->cpu != NULL);
-
 
242
        cpu = t->cpu;
241
        cpu = t->cpu;
243
    }
242
    }
244
    t->state = Ready;
243
    t->state = Ready;
245
    spinlock_unlock(&t->lock);
244
    spinlock_unlock(&t->lock);
246
   
245