* Get a turnstile for a new thread. */
| 538 | * Get a turnstile for a new thread. |
| 539 | */ |
| 540 | struct turnstile * |
| 541 | turnstile_alloc(void) |
| 542 | { |
| 543 | |
| 544 | return (uma_zalloc(turnstile_zone, M_WAITOK)); |
| 545 | } |
| 546 | |
| 547 | /* |
| 548 | * Free a turnstile when a thread is destroyed. |
no test coverage detected