* SYSTEM RUN QUEUE manipulations and tests * ************************************************************************/ * Initialize a run structure. */
| 263 | * Initialize a run structure. |
| 264 | */ |
| 265 | void |
| 266 | runq_init(struct runq *rq) |
| 267 | { |
| 268 | int i; |
| 269 | |
| 270 | bzero(rq, sizeof *rq); |
| 271 | for (i = 0; i < RQ_NQS; i++) |
| 272 | TAILQ_INIT(&rq->rq_queues[i]); |
| 273 | } |
| 274 | |
| 275 | /* |
| 276 | * Clear the status bit of the queue corresponding to priority level pri, |
no test coverage detected