summaryrefslogtreecommitdiff
path: root/memory
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2002-03-14 21:42:07 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2002-03-14 21:42:07 +0000
commit9b354ac2fd7ffb5ebf6a0222a9a6fa0f2a9f64f8 (patch)
tree8158dc272d81aa3185cec10de09e0f7de87bd66d /memory
parente13c042d9525b1942ccbc25df9d09db4d8bc1984 (diff)
downloadlibapr-9b354ac2fd7ffb5ebf6a0222a9a6fa0f2a9f64f8.tar.gz
struct process_chain is not part of the API, so get it out of
apr_thread_proc.h and instead move it to the one file that needs it git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63126 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r--memory/unix/apr_pools.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c
index 8f1e521ec..5185efddd 100644
--- a/memory/unix/apr_pools.c
+++ b/memory/unix/apr_pools.c
@@ -105,6 +105,22 @@
typedef struct cleanup_t cleanup_t;
+/** A list of processes */
+struct process_chain {
+ /** The process ID */
+ apr_proc_t *pid;
+ /** When the process should be sent a signal. <PRE>
+ * kill_never -- process is never sent any signals
+ * kill_always -- process is sent SIGKILL on apr_pool_t cleanup
+ * kill_after_timeout -- SIGTERM, wait 3 seconds, SIGKILL
+ * just_wait -- wait forever for the process to complete
+ * kill_only_once -- send SIGTERM and then wait </PRE>
+ */
+ enum kill_conditions kill_how;
+ /** The next process in the list */
+ struct process_chain *next;
+};
+
#if !APR_POOL_DEBUG
typedef struct allocator_t allocator_t;
typedef struct node_t node_t;