Searched hist:165761 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/sys/kern/ | ||
H A D | kern_switch.c | diff 165761 Thu Jan 04 06:39:58 MST 2007 jeff - Add three new functions to support circular run queues. - runq_add_pri allows the caller to position the thread at any rqindex regardless of priority. - runq_choose_from() chooses the lowest priority thread starting from a given index. The index is updated with the rqindex of the chosen thread. This routine is used to pick the lowest priority relative to a given index. - runq_remove_idx() updates the index if the run queue that held the removed thread is now empty. |
Completed in 70 milliseconds