* Release a thread that has exited after cpu_throw(). */
| 568 | * Release a thread that has exited after cpu_throw(). |
| 569 | */ |
| 570 | void |
| 571 | thread_stash(struct thread *td) |
| 572 | { |
| 573 | atomic_subtract_rel_int(&td->td_proc->p_exitthreads, 1); |
| 574 | thread_zombie(td); |
| 575 | } |
| 576 | |
| 577 | /* |
| 578 | * Reap zombies from passed domain. |
no test coverage detected