| 278 | } |
| 279 | |
| 280 | static void |
| 281 | tid_free_batch(lwpid_t *batch, int n) |
| 282 | { |
| 283 | int i; |
| 284 | |
| 285 | mtx_lock(&tid_lock); |
| 286 | for (i = 0; i < n; i++) { |
| 287 | tid_free_locked(batch[i]); |
| 288 | } |
| 289 | mtx_unlock(&tid_lock); |
| 290 | } |
| 291 | |
| 292 | /* |
| 293 | * Batching for thread reapping. |
no test coverage detected