* Get a sleep queue for a new thread. */
| 239 | * Get a sleep queue for a new thread. |
| 240 | */ |
| 241 | struct sleepqueue * |
| 242 | sleepq_alloc(void) |
| 243 | { |
| 244 | |
| 245 | return (uma_zalloc(sleepq_zone, M_WAITOK)); |
| 246 | } |
| 247 | |
| 248 | /* |
| 249 | * Free a sleep queue when a thread is destroyed. |
no test coverage detected