| 305 | } |
| 306 | |
| 307 | static void |
| 308 | tidbatch_add(struct tidbatch *tb, struct thread *td) |
| 309 | { |
| 310 | |
| 311 | KASSERT(tb->n < nitems(tb->tab), |
| 312 | ("%s: count too high %d", __func__, tb->n)); |
| 313 | tb->tab[tb->n] = td->td_tid; |
| 314 | tb->n++; |
| 315 | } |
| 316 | |
| 317 | static void |
| 318 | tidbatch_process(struct tidbatch *tb) |
no outgoing calls
no test coverage detected