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

Function proc_linkup0

freebsd/kern/kern_thread.c:459–464  ·  view source on GitHub ↗

* For a newly created process, * link up all the structures and its initial threads etc. * called from: * {arch}/{arch}/machdep.c {arch}_init(), init386() etc. * proc_dtor() (should go away) * proc_init() */

Source from the content-addressed store, hash-verified

457 * proc_init()
458 */
459void
460proc_linkup0(struct proc *p, struct thread *td)
461{
462 TAILQ_INIT(&p->p_threads); /* all threads in proc */
463 proc_linkup(p, td);
464}
465
466void
467proc_linkup(struct proc *p, struct thread *td)

Callers 5

init386Function · 0.85
mips_proc0_initFunction · 0.85
hammer_timeFunction · 0.85
init_proc0Function · 0.85
init_proc0Function · 0.85

Calls 1

proc_linkupFunction · 0.85

Tested by

no test coverage detected