previous | start | next

uthread_sched_init

This should initialize the multilevel scheduling queues. You need to implement it.

The array of is global in uthread_sched.c:

utqueue_t runq_table[UTH_MAXPRIO + 1];
   

where UTQ_MAXPRIO is defined as 7.

The utqueue_t type is a doubly linked list. A function to initialize it (as empty) is utqueue_init in the file uthread_queue.c



previous | start | next