On 19 Feb 2001, Chmouel Boudjnah wrote:

> Sebastian Dransfeld <[EMAIL PROTECTED]> writes:
>
> > On 19 Feb 2001, Chmouel Boudjnah wrote:
> >
> > > Sebastian Dransfeld <[EMAIL PROTECTED]> writes:
> > >
> > > > Something like this?
> > >
> > > why ?
> >
> > Because when a multithreaded daemon gets killed, errormessages from kill
> > about "no such pid" will appear. Which doesn't look good.
>
> i would prefer to have a "no such pid" for real kill that have no
> pid....
>
> a function who detect multhread daemon and skip the kill would be better.

So very true, but that could be difficult.

How about to kill only one pid at a time, and then recheck if there still
are some processes running?

seb


Reply via email to