tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pwait(1) added



On Tuesday 03 Mar 2015 21:17:34 Marc Balmer wrote:
> Am 03.03.15 um 19:34 schrieb Christos Zoulas:
> > It is a tool from FreeBSD that lets you wait for a set of abtrary pids
> > to exit. Do you think this tool is useful or should I remove it? Joerg
> > asked for a timeout feature. Is that something that should be added?
> > 
> > https://www.freebsd.org/cgi/man.cgi?pwait
> 
> you should not remove it.  it can be useful.  as for the timeout
> feature, I don't see much gain in it.  Either you wait for a process, or
> you don't.

I disagree with that - everything should have a definable timeout. It sucks to 
wait for a constantly spinning process (for example, bugs!)

If you don't specify a timeout then sure, wait forever.

Roy


Home | Main Index | Thread Index | Old Index