RE: Process Control Extensions

From: <john.aynsley@doulos.com>
Date: Fri May 14 2010 - 04:11:49 PDT

Bishnupriya,

* Is include_descendants intended to find descendents of intermediate
processes that have already terminated, i.e. children of dead children?
[bpriya> yes, it is. Note that the process on which the construct is being
called can itself be terminated, then the construct applies to its
descendants - the same logic holds for an intermediate process in the
sub-hierarchy that has terminated.]

Can you please clarify? Suppose process A spawns process B and B spawns C,
and suppose process B is terminated first before A or C. You say that
include_descendents on A should find C. Is this meant to imply that the
implementation is obliged to keep the process handle for the terminated
process B valid until after all its children have terminated, or is an
implementation permitted to invalidate any handles to B while B still has
surviving children? Would this be implementation-dependent?

Thanks,

John A

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri May 14 04:12:20 2010

This archive was generated by hypermail 2.1.8 : Fri May 14 2010 - 04:12:22 PDT