MCPcopy Create free account
hub / github.com/F-Stack/f-stack / thread_reap_all

Function thread_reap_all

freebsd/kern/kern_thread.c:651–662  ·  view source on GitHub ↗

* Reap zombies from all domains. */

Source from the content-addressed store, hash-verified

649 * Reap zombies from all domains.
650 */
651static void
652thread_reap_all(void)
653{
654 struct thread_domain_data *tdd;
655 int i, domain;
656
657 domain = PCPU_GET(domain);
658 for (i = 0; i < vm_ndomains; i++) {
659 tdd = &thread_domain_data[(i + domain) % vm_ndomains];
660 thread_reap_domain(tdd);
661 }
662}
663
664/*
665 * Reap zombies from local domain.

Callers 2

thread_count_incFunction · 0.85
thread_reap_task_cbFunction · 0.85

Calls 1

thread_reap_domainFunction · 0.85

Tested by

no test coverage detected