On 2007-12-11 20:16, Fabian wrote: > Update of /cvsroot/monetdb/sql/src/backends/monet5 > In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7608 > > Modified Files: > merovingian.mx > Log Message: > FreeBSD is kind of b0rkened, or my code is completely wrong. It appears > that FreeBSD doesn't set the pid of the child that sends the SIGCHLD to > its parent, leaving merovingian clueless when it receives such signal. > This "bug" is kind of limiting merovingian's abilities on FreeBSD in a way.
In the signal handler for SIGCHILD, you're supposed to call one of the variants of wait to get the PID of the child that caused the signal to happen. In certain older systems (System V), you would keep getting the signal when the signal handler returned if you didn't. -- Sjoerd Mullender ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Monetdb-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-developers
