> Hmm, and of course this does not work since the timeout kill process is > around. Maybe we should make this process a separate process group from > the start, what about calling setpgid(0, 0) instead of setting up the > signal handler? That way we can send the signals to the whole process > group and make sure everything has been cleaned up. > Agreed, that sounds like a great method. -- Regards, Li Wang