summaryrefslogtreecommitdiff
path: root/misc/unix/otherchild.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/unix/otherchild.c')
-rw-r--r--misc/unix/otherchild.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/misc/unix/otherchild.c b/misc/unix/otherchild.c
index aa838f8be..5a8af09f2 100644
--- a/misc/unix/otherchild.c
+++ b/misc/unix/otherchild.c
@@ -61,20 +61,6 @@
static ap_other_child_rec_t *other_children = NULL;
-/* ***APRDOC********************************************************
- * void ap_register_other_child(ap_proc_t *pid,
- * void (*maintenance) (int reason, void *data),
- * void *data, int write_fd, ap_context_t *p)
- * Register an other_child -- a child which must be kept track of so
- * that the program knows when it has dies or disappeared.
- * arg 1) pid is the pid of the child.
- * arg 2) maintenance is a function that is invoked with a reason and the
- * data pointer passed here.
- * arg 3) The data to pass to the maintenance function.
- * arg 4) An fd that is probed for writing. If it is ever unwritable
- * then the maintenance is invoked with reason OC_REASON_UNWRITABLE.
- * arg 5) The context to use for allocating memory.
- */
API_EXPORT(void) ap_register_other_child(ap_proc_t *pid,
void (*maintenance) (int reason, void *),
void *data, int write_fd, ap_context_t *p)
@@ -90,16 +76,6 @@ API_EXPORT(void) ap_register_other_child(ap_proc_t *pid,
other_children = ocr;
}
-/* ***APRDOC********************************************************
- * void ap_unregister_other_child(void *data)
- * Stop watching the specified process.
- * arg 1) The data to pass to the maintenance function. This is
- * used to find the process to unregister.
- * NOTE: Since this can be called by a maintenance function while we're
- * scanning the other_children list, all scanners should protect
- * themself by loading ocr->next before calling any maintenance
- * function.
- */
API_EXPORT(void) ap_unregister_other_child(void *data)
{
ap_other_child_rec_t **pocr, *nocr;
@@ -165,12 +141,6 @@ static void probe_writable_fds(void)
}
}
-/* ***APRDOC********************************************************
- * ap_status_t ap_reap_other_child(ap_proc_t *piod)
- * Check on the specified process. If it is gone, call the
- * maintenance function.
- * arg 1) The process to check.
- */
API_EXPORT(ap_status_t) ap_reap_other_child(ap_proc_t *pid)
{
ap_other_child_rec_t *ocr, *nocr;
@@ -187,11 +157,6 @@ API_EXPORT(ap_status_t) ap_reap_other_child(ap_proc_t *pid)
return APR_CHILD_NOTDONE;
}
-/* ***APRDOC********************************************************
- * void ap_check_other_child(void)
- * Loop through all registered other_children and call the
- * appropriate maintenance function when necessary.
- */
API_EXPORT(void) ap_check_other_child(void)
{
ap_other_child_rec_t *ocr, *nocr;