Hello,<div><br></div><div>I&#39;m looking for a way to access dynamically to the &quot;father&quot; process of a forked process... </div><div><br></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">|p1|</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">p1 := Processor activeProcess.</span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">[ </span><span class="Apple-style-span" style="font-style: italic;"><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">how to retrieve dynamically the process p1 here ?</span></span><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;"> ] fork.</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">[ |p2|&nbsp;</span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">p2 := Processor activeProcess.</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">&nbsp;[&nbsp;</span><span class="Apple-style-span" style="font-style: italic; "><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">how to retrieve dynamically the process p1 here (grandfather of the current process) ?</span></span></div>
<div><span class="Apple-style-span" style="font-style: italic;"><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">how to retrieve dynamically the process p2 here (father of the current process) ?<span class="Apple-style-span" style="font-style: normal;">] fork] fork.</span><br>
</span></span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;"><br></span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">... and so on.</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;; font-size: 12px;"><br></span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;; "><span class="Apple-style-span" style="font-family: arial, sans-serif;"><span class="Apple-style-span" style="font-size: small;">How to access dynamically to the ancestors of a process ?&nbsp;</span></span></span></div>
<div>Perhaps by the suspendedContext ? Or by something else ?</div><div><br></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;; font-size: 12px;"><span class="Apple-style-span" style="font-family: arial;">Fréd<br clear="all">
</span></span><br>-- <br>Frédéric Pluquet<br>Université Libre de Bruxelles (ULB)<br>Assistant<br><a href="http://www.ulb.ac.be/di/fpluquet">http://www.ulb.ac.be/di/fpluquet</a>
</div>