ben 97/08/24 10:10:22
Modified: src/main http_main.c
Log:
Add child_{init,exit} to Win32.
Revision Changes Path
1.208 +6 -0 apachen/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/http_main.c,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -r1.207 -r1.208
--- http_main.c 1997/08/24 16:12:28 1.207
+++ http_main.c 1997/08/24 17:10:18 1.208
@@ -3523,6 +3523,7 @@
csd = -1;
dupped_csd = -1;
requests_this_child = 0;
+
(void)update_child_status(child_num, SERVER_READY, (request_rec*)NULL);
/*
@@ -3774,6 +3775,8 @@
* - Exit
*/
+ child_init_modules(pconf, server_conf);
+
allowed_globals.jobsemaphore = create_semaphore(0);
allowed_globals.jobmutex = create_mutex(NULL);
@@ -3946,6 +3949,9 @@
}
destroy_semaphore(allowed_globals.jobsemaphore);
destroy_mutex(allowed_globals.jobmutex);
+
+ child_exit_modules(pconf, server_conf);
+
cleanup_scoreboard();
exit(0);