diff options
author | Jeff Trawick <trawick@apache.org> | 2002-03-14 21:42:07 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-03-14 21:42:07 +0000 |
commit | 051946488249c2f129a088ab9c59c025225ae8de (patch) | |
tree | 8158dc272d81aa3185cec10de09e0f7de87bd66d /memory | |
parent | 00e034e2a66b133d092fbbdabbaeecac42b0ec22 (diff) | |
download | apr-051946488249c2f129a088ab9c59c025225ae8de.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: https://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.c | 16 |
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; |