operating system - Is there a child's PID? -
i in operating systems class , teacher spent half of class period talking pids. mentioned, many know, processes know parent's id.
my question this:
does process's pcb know child's id? if so, way go obtaining it?
as far know process doesn't have explicit list of children's pids, can built, since process should know child processes spawns. example unix fork() call returns child pid in parent process , 0 in child process, createprocess() on windows returns (iirc) pid of new process created.
Comments
Post a Comment