sched: implement waitqueues
This commit is contained in:
@@ -50,6 +50,7 @@ void rq_enqueue(struct runqueue *rq, struct thread *thr)
|
||||
rq->rq_nthreads++;
|
||||
|
||||
rq->rq_readybits |= PRIO_MASK(thread_priority(thr));
|
||||
thr->tr_rq = rq;
|
||||
}
|
||||
|
||||
struct runqueue *cpu_rq(unsigned int cpu)
|
||||
|
||||
Reference in New Issue
Block a user