Hi!
> > The timeout should better be handled, if handled at all, in the
> > checkpoint code. I would not care much about this case because when the
> > parent is dead does not talk to the child the test will fail anyway...
> >
> 
> I didn't care about the test failure in such case. I cared about that 
> without alarm() the child will keep running (i.e. blocking on IO) even 
> after the parent is dead.

I've noticed that as well, the child will continue to run and because it
called setsid() the test driver (pan) will not kill it because it left
it's parent process group.

> But I agree that it's not the best place to handle this inside the test 
> case.

I was thinking of adding the alarm() code into the checkpoint child
code. This should fix the problem once for all. But even then this
codepath happens only when something went wrong so this has not big
priority...

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to