* 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. */
| 515 | * Caller must set state afterwards. |
| 516 | */ |
| 517 | void |
| 518 | runq_remove(struct runq *rq, struct thread *td) |
| 519 | { |
| 520 | |
| 521 | runq_remove_idx(rq, td, NULL); |
| 522 | } |
| 523 | |
| 524 | void |
| 525 | runq_remove_idx(struct runq *rq, struct thread *td, u_char *idx) |
no test coverage detected