conditional in the same way that the function's definition is so give it a
suitable macro that will be recogized by the scripts that make exports.c.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88537
13f79535-47bb-0310-9956-
ffa450edef68
* MPM_NOTE_CHILD_KILLED -- Note the child died in the scoreboard
* </PRE>
*/
+#if AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES
void ap_reclaim_child_processes(int terminate);
+#endif
/**
* Determine if any child process has died. If no child process died, then
#define BEOS_MPM
#include "scoreboard.h"
-#define MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
+#define AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
#define MPM_SYNC_CHILD_TABLE()
#define MPM_CHILD_PID(i) (ap_scoreboard_image->servers[0][i].tid)
#define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0)
#define PERCHILD_MPM
-#define MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
+#define AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
#define MPM_SYNC_CHILD_TABLE()
#define MPM_CHILD_PID(i) (ap_child_table[i].pid)
#define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0)
#define PERCHILD_MPM
-#define MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
+#define AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
#define MPM_SYNC_CHILD_TABLE()
#define MPM_CHILD_PID(i) (ap_child_table[i].pid)
#define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0)
#define PREFORK_MPM
-#define MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
+#define AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
#define MPM_SYNC_CHILD_TABLE() (ap_sync_scoreboard_image())
#define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
#define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0)
#define THREADED_MPM
-#define MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
+#define AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES 1
#define MPM_SYNC_CHILD_TABLE() (ap_sync_scoreboard_image())
#define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
#define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0)
#include <grp.h>
#endif
-#ifdef MPM_NEEDS_RECLAIM_CHILD_PROCESSES
+#ifdef AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES
void ap_reclaim_child_processes(int terminate)
{
int i;