MCPcopy Create free account
hub / github.com/F-Stack/f-stack / runq_remove

Function runq_remove

freebsd/kern/kern_switch.c:517–522  ·  view source on GitHub ↗

* Remove the thread from the queue specified by its priority, and clear the * corresponding status bit if the queue becomes empty. * Caller must set state afterwards. */

Source from the content-addressed store, hash-verified

515 * Caller must set state afterwards.
516 */
517void
518runq_remove(struct runq *rq, struct thread *td)
519{
520
521 runq_remove_idx(rq, td, NULL);
522}
523
524void
525runq_remove_idx(struct runq *rq, struct thread *td, u_char *idx)

Callers 3

sched_remFunction · 0.85
sched_chooseFunction · 0.85
tdq_runq_remFunction · 0.85

Calls 1

runq_remove_idxFunction · 0.85

Tested by

no test coverage detected