* See the file "LICENSE.TERMS" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * $Id: fcgiapp.h,v 1.9 2001/09/06 20:06:03 robs Exp $
+ * $Id: fcgiapp.h,v 1.10 2001/09/14 19:43:31 robs Exp $
*/
#ifndef _FCGIAPP_H
*/
DLLAPI void FCGX_ShutdownPending(void);
-/* ----------------------------------------------------------------------
- *
- * Prevent the lib from interacting with clients in any way
- * (including accepting new requests). Signal handler safe.
- *
- * ----------------------------------------------------------------------
- */
-DLLAPI void FCGX_Shutdown(void);
-
#if defined (__cplusplus) || defined (c_plusplus)
} /* terminate extern "C" { */
#endif
DLLAPI int OS_IsFcgi(int sock);
DLLAPI void OS_SetFlags(int fd, int flags);
-DLLAPI void OS_Shutdown(void);
DLLAPI void OS_ShutdownPending(void);
#if defined (__cplusplus) || defined (c_plusplus)
*
*/
#ifndef lint
-static const char rcsid[] = "$Id: fcgiapp.c,v 1.29 2001/09/06 20:06:06 robs Exp $";
+static const char rcsid[] = "$Id: fcgiapp.c,v 1.30 2001/09/14 19:43:26 robs Exp $";
#endif /* not lint */
#include <assert.h>
static char *webServerAddressList = NULL;
static FCGX_Request the_request;
-void FCGX_Shutdown(void)
-{
- OS_Shutdown();
-}
-
void FCGX_ShutdownPending(void)
{
OS_ShutdownPending();
*/
#ifndef lint
-static const char rcsid[] = "$Id: os_unix.c,v 1.31 2001/09/06 20:07:53 robs Exp $";
+static const char rcsid[] = "$Id: os_unix.c,v 1.32 2001/09/14 19:43:27 robs Exp $";
#endif /* not lint */
#include "fcgi_config.h"
static int shutdownPending = FALSE;
static int shutdownNow = FALSE;
-void OS_Shutdown()
-{
- shutdownNow = TRUE;
- OS_ShutdownPending();
-}
-
void OS_ShutdownPending()
{
shutdownPending = TRUE;
*/
void OS_LibShutdown()
{
- OS_Shutdown();
-
if(!libInitialized)
return;
* significantly more enjoyable.)
*/
#ifndef lint
-static const char rcsid[] = "$Id: os_win32.c,v 1.23 2001/09/06 20:08:33 robs Exp $";
+static const char rcsid[] = "$Id: os_win32.c,v 1.24 2001/09/14 19:43:27 robs Exp $";
#endif /* not lint */
#define WIN32_LEAN_AND_MEAN
ExitThread(0);
}
-void OS_Shutdown(void)
-{
- shutdownNow = TRUE;
- OS_ShutdownPending();
-}
-
void OS_ShutdownPending(void)
{
shutdownPending = TRUE;