sigchld Questions
4
Solved
What is the difference between these settings?
$SIG{CHLD} = 'IGNORE'
$SIG{CHLD} = 'DEFAULT'
$SIG{CHLD} = ''
$SIG{CHLD} = undef
According to "Advanced Programming in the UNIX Environment, 2nd ...
Bacteriophage asked 5/12, 2011 at 17:34
2
Solved
I've got a program with a specialized Process-type class which handles executing the processes natively on Linux.
It does not use Java's Process class at all, because it needs to do some special ...
Dedicated asked 20/9, 2013 at 16:34
2
Solved
I'm writing a debugging utility, and I want to fork a child while preventing that child's termination from triggering a SIGCHLD to its parent. I still want other children to normally cause a SIGCHL...
2
Solved
1
Solved
Here's a sample code where a shell script launches a few jobs in the background and upon receiving the CHLD signal (i.e. the child process termination) it will take some actions... The problem is t...
1
I'm currently in the process of writing a shell. I execute processes and utilize a SIGCHLD signal handler to clean up (wait on them) when they are complete.
Everything has been working -- except w...
1
I need to handle SIGCHLD properly. How can I use it with my existing code? at the moment I cant wait for the child process unless I use 0 instead of WNOHANG|WUNTRACED.
status = 0;
pid_t child, e...
1
Solved
I've seen monitoring programs either in scripts that check process status using 'ps' or 'service status(on Linux)' periodically, or in C/C++ that forks and wait on the process...
I wonder if it i...
Joann asked 20/7, 2011 at 22:43
1
© 2022 - 2024 — McMap. All rights reserved.