O
Old Jeremiah Johnson
Guest
I never tried to do that, but I would say it's not possible, at least the way you are doing it. You can add more complexity to your code and make the parent to fork the child and not wait for him. In such a way, the parent will handle the signals. If you just need to monitor the signals sent to a process and if you have red hat, you can use the system tap (stap) tool. I used it in the past and it's very useful, but I don't know if it exists for other linux distributions.
Continue reading...
Continue reading...