]> granicus.if.org Git - apache/commitdiff
Get rid of ap_check_signals() in all but the prefork MPM, and #define it
authorManoj Kasichainula <manoj@apache.org>
Wed, 1 Dec 1999 00:45:02 +0000 (00:45 +0000)
committerManoj Kasichainula <manoj@apache.org>
Wed, 1 Dec 1999 00:45:02 +0000 (00:45 +0000)
away there. It's a TPF-specific piece that will likely go into a TPF
MPM.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84199 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/dexter/dexter.c
server/mpm/mpmt_beos/mpmt_beos.c
server/mpm/mpmt_pthread/mpmt_pthread.c
server/mpm/prefork/prefork.c
server/mpm/spmt_os2/spmt_os2.c

index c7146de8f34a77dd937cf12f0a269eabada492f4..3fa148e2faa79350a437e1b8ac718e96e99f9044 100644 (file)
@@ -1182,8 +1182,6 @@ static void perform_child_maintenance(void)
     /* initialize the free_list */
     free_length = 0;
     
-    ap_check_signals();
-    
     for (i = 0; i < num_daemons; ++i) {
         if (child_table[i].status == SERVER_DEAD) {
             if (free_length < spawn_rate) {
index a26db6a4cc59f358d3be836d0615063eb95be8ae..a8f0daeca9bbb3f38b8d2fa51f781579d00db6f2 100644 (file)
@@ -948,8 +948,6 @@ static void perform_idle_server_maintenance(void)
     /* initialize the free_list */
     free_length = 0;
 
-    ap_check_signals();
-    
     for (i = 0; i < ap_daemons_limit; ++i) {
         if (child_table[i].status == SERVER_DEAD) {
             if (free_length < spawn_rate) {
index c2f244654624fc17857814d0e2f0e58c2b8ca4f0..f648589ec26409a61d2fd437ecb55455713f8c0c 100644 (file)
@@ -1152,8 +1152,6 @@ static void perform_idle_server_maintenance(void)
     last_non_dead = -1;
     total_non_dead = 0;
 
-    ap_check_signals();
-
     ap_sync_scoreboard_image();
     for (i = 0; i < ap_daemons_limit; ++i) {
        /* Initialization to satisfy the compiler. It doesn't know
index 39e1efe5be9acc356a0162e7bcc21d51f70379f2..bf000726da22d59f7416f14b69acbc1c1aa2cfbd 100644 (file)
@@ -216,6 +216,10 @@ static void chdir_for_gprof(void)
 #define chdir_for_gprof()
 #endif
 
+/* XXX - I don't know if TPF will ever use this module or not, so leave
+ * the ap_check_signals calls in but disable them - manoj */
+#define ap_check_signals() 
+
 /* a clean exit from a child with proper cleanup */
 static void clean_child_exit(int code) __attribute__ ((noreturn));
 static void clean_child_exit(int code)
index 09d305b386bd5a45c7c45b4aaacf910b1b62c805..907c5a76b499ddde13b9c8952d487ff3c309dd74 100644 (file)
@@ -378,8 +378,6 @@ int ap_update_child_status(int child_num, int status, request_rec *r)
     if (child_num < 0)
        return -1;
 
-    ap_check_signals();
-
     ss = &ap_scoreboard_image->servers[child_num];
     old_status = ss->status;
     ss->status = status;