immediately instead of falling through to the end of the function.
$Log$
+ Revision 626.3 2004/10/03 04:11:48 ajc
+ * sysdep.c: in the main server loop, when time_to_die is detected, return
+ immediately instead of falling through to the end of the function.
+
Revision 626.2 2004/10/03 03:57:32 ajc
* Added pthread_attr_destroy() in the appropriate location (thanks fleeb!)
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
retval = select(highest + 1, &readfds, NULL, NULL, &tv);
}
else {
- break;
+ return;
}
/* Now figure out who made this select() unblock.
}
if (time_to_die) {
- break;
+ return;
}
/* It must be a client socket. Find a context that has data
}
/* If control reaches this point, the server is shutting down */
- --num_threads;
return NULL;
}