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

Function isjobproc

freebsd/kern/kern_proc.c:655–662  ·  view source on GitHub ↗

* If true, any child of q which belongs to group pgrp, qualifies the * process group pgrp as not orphaned. */

Source from the content-addressed store, hash-verified

653 * process group pgrp as not orphaned.
654 */
655static bool
656isjobproc(struct proc *q, struct pgrp *pgrp)
657{
658 sx_assert(&proctree_lock, SX_LOCKED);
659
660 return (q->p_pgrp != pgrp &&
661 q->p_pgrp->pg_session == pgrp->pg_session);
662}
663
664static struct proc *
665jobc_reaper(struct proc *p)

Callers 4

pgrp_calc_jobcFunction · 0.85
doenterpgrpFunction · 0.85
fixjobc_killFunction · 0.85
db_print_pgrp_oneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected