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

Function thread_free

freebsd/kern/kern_thread.c:772–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770}
771
772void
773thread_free(struct thread *td)
774{
775 lwpid_t tid;
776
777 EVENTHANDLER_DIRECT_INVOKE(thread_dtor, td);
778 tid = td->td_tid;
779 thread_free_batched(td);
780 tid_free(tid);
781 thread_count_dec();
782}
783
784void
785thread_cow_get_proc(struct thread *newtd, struct proc *p)

Callers 2

proc_finiFunction · 0.70
thread_createFunction · 0.70

Calls 3

thread_free_batchedFunction · 0.85
thread_count_decFunction · 0.85
tid_freeFunction · 0.70

Tested by

no test coverage detected