<div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hmm, and of course this does not work since the timeout kill process is<br>
around. Maybe we should make this process a separate process group from<br>
the start, what about calling setpgid(0, 0) instead of setting up the<br>
signal handler? That way we can send the signals to the whole process<br>
group and make sure everything has been cleaned up.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">Agreed, that sounds like a great method.</div></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>