* 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() */
| 457 | * proc_init() |
| 458 | */ |
| 459 | void |
| 460 | proc_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 | |
| 466 | void |
| 467 | proc_linkup(struct proc *p, struct thread *td) |
no test coverage detected