> -----Original Message-----
> From: Jan Weil [mailto:[EMAIL PROTECTED]]
...
> By the way: Since none of our codecs catches any signals it 
> doesn't make
> any difference whether they are killed by SIGKILL or SIGTERM.

  I think some clean-up is done by default, even if you do not specify any
signal handler (that depends on what exactly you're using, I am assuming C
or C++).

  however, the real difference is the extensibility - if you do it the right
way - the main applications sends SIGTERM, waits, sends SIGKILL to the ones
that did not finish (possibly asks user what to do, the child might have
legitimate reason to want continue (e.g. you asked for operation that is not
finished yet, in that case application might want to wait until child is
done)). You might not need it right now but it's not much work and it's
better to be ready... generally...

  all above IMO and fairly generic, you can, of course, do whatever you
want, I don't have much info to really know what you need...

        erik

Reply via email to