comparison src/event-stream.c @ 80:1ce6082ce73f r20-0b90

Import from CVS: tag r20-0b90
author cvs
date Mon, 13 Aug 2007 09:06:37 +0200
parents 54cc21c15cbb
children 6a378aca36af
comparison
equal deleted inserted replaced
79:5b0a5bbffab6 80:1ce6082ce73f
2789 get a SIGCHLD). */ 2789 get a SIGCHLD). */
2790 || (readstatus == -1 && errno == EIO) 2790 || (readstatus == -1 && errno == EIO)
2791 #endif 2791 #endif
2792 ) 2792 )
2793 { 2793 {
2794 /* Currently, we rely on SIGCHLD to indicate that 2794 /* Currently, we rely on SIGCHLD to indicate that the
2795 the process has terminated. Unfortunately, it 2795 process has terminated. Unfortunately, on some systems
2796 appears that on some systems the SIGCHLD gets 2796 the SIGCHLD gets missed some of the time. So we put an
2797 missed some of the time. So, we put in am 2797 additional check in status_notify() to see whether a
2798 additional check in status_notify() to see 2798 process has terminated. We must tell status_notify()
2799 whether a process has terminated. We have to 2799 to enable that check, and we do so now. */
2800 tell status_notify() to enable that check, and
2801 we do so now. */
2802 kick_status_notify (); 2800 kick_status_notify ();
2803 } 2801 }
2804 else 2802 else
2805 { 2803 {
2806 /* Deactivate network connection */ 2804 /* Deactivate network connection */