[Mplayerplug-in-cvs] mplayerplug-in/Source plugin-threads.cpp, 1.279, 1.280
Brought to you by:
kdekorte
From: Kevin D. <kde...@us...> - 2008-06-13 03:39:10
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10910/Source Modified Files: plugin-threads.cpp Log Message: see if that kills the zombies Index: plugin-threads.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-threads.cpp,v retrieving revision 1.279 retrieving revision 1.280 diff -C2 -d -r1.279 -r1.280 *** plugin-threads.cpp 12 Jun 2008 14:21:14 -0000 1.279 --- plugin-threads.cpp 13 Jun 2008 03:39:06 -0000 1.280 *************** *** 13,22 **** extern int errno; - /* Not used, so commented out static void sig_child(int signo) { ! wait(NULL); } ! */ /* --- 13,22 ---- extern int errno; static void sig_child(int signo) { ! // Not used, so commented out ! // wait(NULL); } ! /* *************** *** 233,237 **** } else { // setup signal handler for child ! // signal(SIGCHLD, sig_child); sigemptyset(&newmask); sigaddset(&newmask, SIGCHLD); --- 233,237 ---- } else { // setup signal handler for child ! signal(SIGCHLD, sig_child); sigemptyset(&newmask); sigaddset(&newmask, SIGCHLD); |