Return-Path: X-Original-To: apmail-apr-commits-archive@www.apache.org Delivered-To: apmail-apr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46F6C11F32 for ; Sat, 19 Apr 2014 12:32:10 +0000 (UTC) Received: (qmail 5878 invoked by uid 500); 19 Apr 2014 12:31:59 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 5525 invoked by uid 500); 19 Apr 2014 12:31:50 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 5268 invoked by uid 99); 19 Apr 2014 12:31:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Apr 2014 12:31:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Apr 2014 12:31:27 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 642CD2388CA2; Sat, 19 Apr 2014 12:30:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1588644 [34/38] - in /apr/site/trunk/docs/docs/apr/1.5: ./ search/ Date: Sat, 19 Apr 2014 12:29:50 -0000 To: commits@apr.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140419123005.642CD2388CA2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: apr/site/trunk/docs/docs/apr/1.5/group__apr__thread__proc.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.5/group__apr__thread__proc.html?rev=1588644&r1=1588643&r2=1588644&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/1.5/group__apr__thread__proc.html (original) +++ apr/site/trunk/docs/docs/apr/1.5/group__apr__thread__proc.html Sat Apr 19 12:29:44 2014 @@ -3,6 +3,7 @@ + Apache Portable Runtime: Threads and Process Functions @@ -29,7 +30,7 @@ - + @@ -82,53 +83,82 @@ var searchBox = new SearchBox("searchBox Enumerations | Functions
-
Threads and Process Functions
- +
Threads and Process Functions
+
- +

+

Modules

 Other Child Flags
 
- +

+

Data Structures

struct  apr_proc_t
 
- + + + + + + + + + + + + + + + + + +

+

Macros

#define APR_PROC_CHECK_EXIT(x)   (x & APR_PROC_EXIT)
 
#define APR_PROC_CHECK_SIGNALED(x)   (x & APR_PROC_SIGNAL)
 
#define APR_PROC_CHECK_CORE_DUMP(x)   (x & APR_PROC_SIGNAL_CORE)
 
#define APR_NO_PIPE   0
 
#define APR_FULL_BLOCK   1
 
#define APR_FULL_NONBLOCK   2
 
#define APR_PARENT_BLOCK   3
 
#define APR_CHILD_BLOCK   4
 
#define APR_NO_FILE   8
 
#define APR_NO_FILE   8
 
#define APR_READ_BLOCK   3
 
#define APR_WRITE_BLOCK   4
 
#define APR_LIMIT_CPU   0
 
#define APR_LIMIT_MEM   1
 
#define APR_LIMIT_NPROC   2
 
#define APR_LIMIT_NOFILE   3
 
#define APR_PROC_DETACH_FOREGROUND   0
 
#define APR_PROC_DETACH_DAEMONIZE   1
 
- + + + + + + + + +

+

Typedefs

typedef struct apr_proc_t apr_proc_t
 
typedef void( apr_child_errfn_t )(apr_pool_t *proc, apr_status_t err, const char *description)
 
typedef struct apr_thread_t apr_thread_t
 
typedef struct apr_threadattr_t apr_threadattr_t
 
typedef struct apr_procattr_t apr_procattr_t
 
typedef struct apr_thread_once_t apr_thread_once_t
 
typedef struct apr_threadkey_t apr_threadkey_t
 
typedef struct
apr_other_child_rec_t 
apr_other_child_rec_t
 
typedef void *(APR_THREAD_FUNCapr_thread_start_t )(apr_thread_t *, void *)
 
-   APR_SHELLCMD_ENV
} + - + +   APR_KILL_ONLY_ONCE
} +

+

Enumerations

enum  apr_cmdtype_e {
  APR_SHELLCMD, @@ -139,13 +169,16 @@ Enumerations
 
enum  apr_wait_how_e { APR_WAIT, APR_NOWAIT }
enum  apr_exit_why_e { APR_PROC_EXIT = 1, -APR_PROC_SIGNAL = 2, -APR_PROC_SIGNAL_CORE = 4 +
 
enum  apr_exit_why_e { APR_PROC_EXIT = 1, +APR_PROC_SIGNAL = 2, +APR_PROC_SIGNAL_CORE = 4 }
 
enum  apr_kill_conditions_e {
  APR_KILL_NEVER, APR_KILL_ALWAYS, @@ -155,61 +188,111 @@ Enumerations
 
- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+

Functions

apr_status_t apr_threadattr_create (apr_threadattr_t **new_attr, apr_pool_t *cont)
 
apr_status_t apr_threadattr_detach_set (apr_threadattr_t *attr, apr_int32_t on)
 
apr_status_t apr_threadattr_detach_get (apr_threadattr_t *attr)
 
apr_status_t apr_threadattr_stacksize_set (apr_threadattr_t *attr, apr_size_t stacksize)
 
apr_status_t apr_threadattr_guardsize_set (apr_threadattr_t *attr, apr_size_t guardsize)
 
apr_status_t apr_thread_create (apr_thread_t **new_thread, apr_threadattr_t *attr, apr_thread_start_t func, void *data, apr_pool_t *cont)
 
apr_status_t apr_thread_exit (apr_thread_t *thd, apr_status_t retval)
 
apr_status_t apr_thread_join (apr_status_t *retval, apr_thread_t *thd)
 
void apr_thread_yield (void)
 
apr_status_t apr_thread_once_init (apr_thread_once_t **control, apr_pool_t *p)
 
apr_status_t apr_thread_once (apr_thread_once_t *control, void(*func)(void))
 
apr_status_t apr_thread_detach (apr_thread_t *thd)
 
apr_status_t apr_thread_data_get (void **data, const char *key, apr_thread_t *thread)
 
apr_status_t apr_thread_data_set (void *data, const char *key, apr_status_t(*cleanup)(void *), apr_thread_t *thread)
 
apr_status_t apr_threadkey_private_create (apr_threadkey_t **key, void(*dest)(void *), apr_pool_t *cont)
 
apr_status_t apr_threadkey_private_get (void **new_mem, apr_threadkey_t *key)
 
apr_status_t apr_threadkey_private_set (void *priv, apr_threadkey_t *key)
 
apr_status_t apr_threadkey_private_delete (apr_threadkey_t *key)
 
apr_status_t apr_threadkey_data_get (void **data, const char *key, apr_threadkey_t *threadkey)
 
apr_status_t apr_threadkey_data_set (void *data, const char *key, apr_status_t(*cleanup)(void *), apr_threadkey_t *threadkey)
 
apr_status_t apr_procattr_create (apr_procattr_t **new_attr, apr_pool_t *cont)
 
apr_status_t apr_procattr_io_set (apr_procattr_t *attr, apr_int32_t in, apr_int32_t out, apr_int32_t err)
 
apr_status_t apr_procattr_child_in_set (struct apr_procattr_t *attr, apr_file_t *child_in, apr_file_t *parent_in)
 
apr_status_t apr_procattr_child_out_set (struct apr_procattr_t *attr, apr_file_t *child_out, apr_file_t *parent_out)
 
apr_status_t apr_procattr_child_err_set (struct apr_procattr_t *attr, apr_file_t *child_err, apr_file_t *parent_err)
 
apr_status_t apr_procattr_dir_set (apr_procattr_t *attr, const char *dir)
 
apr_status_t apr_procattr_cmdtype_set (apr_procattr_t *attr, apr_cmdtype_e cmd)
 
apr_status_t apr_procattr_detach_set (apr_procattr_t *attr, apr_int32_t detach)
 
apr_status_t apr_procattr_limit_set (apr_procattr_t *attr, apr_int32_t what, struct rlimit *limit)
 
apr_status_t apr_procattr_child_errfn_set (apr_procattr_t *attr, apr_child_errfn_t *errfn)
 
apr_status_t apr_procattr_error_check_set (apr_procattr_t *attr, apr_int32_t chk)
 
apr_status_t apr_procattr_addrspace_set (apr_procattr_t *attr, apr_int32_t addrspace)
 
apr_status_t apr_procattr_user_set (apr_procattr_t *attr, const char *username, const char *password)
 
apr_status_t apr_procattr_group_set (apr_procattr_t *attr, const char *groupname)
 
apr_status_t apr_proc_fork (apr_proc_t *proc, apr_pool_t *cont)
 
apr_status_t apr_proc_create (apr_proc_t *new_proc, const char *progname, const char *const *args, const char *const *env, apr_procattr_t *attr, apr_pool_t *pool)
 
apr_status_t apr_proc_wait (apr_proc_t *proc, int *exitcode, apr_exit_why_e *exitwhy, apr_wait_how_e waithow)
 
apr_status_t apr_proc_wait_all_procs (apr_proc_t *proc, int *exitcode, apr_exit_why_e *exitwhy, apr_wait_how_e waithow, apr_pool_t *p)
 
apr_status_t apr_proc_detach (int daemonize)
 
void apr_proc_other_child_register (apr_proc_t *proc, void(*maintenance)(int reason, void *, int status), void *data, apr_file_t *write_fd, apr_pool_t *p)
 
void apr_proc_other_child_unregister (void *data)
 
apr_status_t apr_proc_other_child_alert (apr_proc_t *proc, int reason, int status)
 
void apr_proc_other_child_refresh (apr_other_child_rec_t *ocr, int reason)
 
void apr_proc_other_child_refresh_all (int reason)
 
apr_status_t apr_proc_kill (apr_proc_t *proc, int sig)
 
void apr_pool_note_subprocess (apr_pool_t *a, apr_proc_t *proc, apr_kill_conditions_e how)
 
apr_status_t apr_setup_signal_thread (void)
 
apr_status_t apr_signal_thread (int(*signal_handler)(int signum))
 
apr_pool_tapr_thread_pool_get (const apr_thread_t *thethread)
 
-

Detailed Description

-

Macro Definition Documentation

+

Detailed Description

+

Macro Definition Documentation

@@ -367,7 +450,7 @@ Functions #define APR_PROC_CHECK_CORE_DUMP (   - x) + x)    (x & APR_PROC_SIGNAL_CORE) @@ -384,7 +467,7 @@ Functions #define APR_PROC_CHECK_EXIT (   - x) + x)    (x & APR_PROC_EXIT) @@ -401,7 +484,7 @@ Functions #define APR_PROC_CHECK_SIGNALED (   - x) + x)    (x & APR_PROC_SIGNAL) @@ -462,7 +545,7 @@ Functions
-

Typedef Documentation

+

Typedef Documentation

@@ -588,7 +671,7 @@ Functions
-

Enumeration Type Documentation

+

Enumeration Type Documentation

@@ -598,25 +681,23 @@ Functions
-
Enumerator:
-
APR_SHELLCMD  + + - - - -
Enumerator
APR_SHELLCMD 

use the shell to invoke the program

APR_PROGRAM  +
APR_PROGRAM 

invoke the program directly, no copied env

APR_PROGRAM_ENV  +
APR_PROGRAM_ENV 

invoke the program, replicating our environment

APR_PROGRAM_PATH  +
APR_PROGRAM_PATH 

find program on PATH, use our environment

APR_SHELLCMD_ENV  +
APR_SHELLCMD_ENV 

use the shell to invoke the program, replicating our environment

- - @@ -629,19 +710,17 @@ Functions
-
Enumerator:
-
APR_PROC_EXIT  + + - -
Enumerator
APR_PROC_EXIT 

process exited normally

APR_PROC_SIGNAL  +
APR_PROC_SIGNAL 

process exited due to a signal

APR_PROC_SIGNAL_CORE  +
APR_PROC_SIGNAL_CORE 

process exited and dumped a core file

- - @@ -654,25 +733,23 @@ Functions
-
Enumerator:
-
APR_KILL_NEVER  + + - - - -
Enumerator
APR_KILL_NEVER 

process is never killed (i.e., never sent any signals), but it will be reaped if it exits before the pool is cleaned up

APR_KILL_ALWAYS  +
APR_KILL_ALWAYS 

process is sent SIGKILL on apr_pool_t cleanup

APR_KILL_AFTER_TIMEOUT  +
APR_KILL_AFTER_TIMEOUT 

SIGTERM, wait 3 seconds, SIGKILL

APR_JUST_WAIT  +
APR_JUST_WAIT 

wait forever for the process to complete

APR_KILL_ONLY_ONCE  +
APR_KILL_ONLY_ONCE 

send SIGTERM and then wait

- - @@ -685,20 +762,18 @@ Functions
-
Enumerator:
- - +
APR_WAIT  + + -
Enumerator
APR_WAIT 

wait for the specified process to finish

APR_NOWAIT  +
APR_NOWAIT 

do not wait – just see if it has finished

- - -

Function Documentation

+

Function Documentation

@@ -817,7 +892,7 @@ Functions
apr_status_t apr_proc_detach ( int daemonize)daemonize)
@@ -996,7 +1071,7 @@ if (void apr_proc_other_child_refresh_all ( int  - reason) + reason) @@ -1077,7 +1152,7 @@ if (void apr_proc_other_child_unregister ( void *  - data) + data) @@ -1774,7 +1849,7 @@ if (apr_status_t apr_setup_signal_thread ( void  - ) + ) @@ -1792,7 +1867,7 @@ if (apr_status_t apr_signal_thread ( int(*)(int signum)  - signal_handler) + signal_handler) @@ -1959,7 +2034,7 @@ if (apr_status_t apr_thread_detach ( apr_thread_t *  - thd) + thd) @@ -2118,7 +2193,7 @@ if (apr_pool_t* apr_thread_pool_get ( const apr_thread_t *  - thethread) + thethread) @@ -2136,7 +2211,7 @@ if (void apr_thread_yield ( void  - ) + ) @@ -2187,7 +2262,7 @@ if (apr_status_t apr_threadattr_detach_get ( apr_threadattr_t *  - attr) + attr) @@ -2444,7 +2519,7 @@ if (apr_status_t apr_threadkey_private_delete ( apr_threadkey_t *  - key) + key) @@ -2530,9 +2605,9 @@ if ( Modified: apr/site/trunk/docs/docs/apr/1.5/group__apr__thread__rwlock.html URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.5/group__apr__thread__rwlock.html?rev=1588644&r1=1588643&r2=1588644&view=diff ============================================================================== --- apr/site/trunk/docs/docs/apr/1.5/group__apr__thread__rwlock.html (original) +++ apr/site/trunk/docs/docs/apr/1.5/group__apr__thread__rwlock.html Sat Apr 19 12:29:44 2014 @@ -3,6 +3,7 @@ + Apache Portable Runtime: Reader/Writer Lock Routines @@ -29,7 +30,7 @@
- + @@ -78,27 +79,36 @@ var searchBox = new SearchBox("searchBox Typedefs | Functions
-
Reader/Writer Lock Routines
-
+
Reader/Writer Lock Routines
+
- +

+

Typedefs

typedef struct apr_thread_rwlock_t apr_thread_rwlock_t
 
- + + + + + + + +

+

Functions

apr_status_t apr_thread_rwlock_create (apr_thread_rwlock_t **rwlock, apr_pool_t *pool)
 
apr_status_t apr_thread_rwlock_rdlock (apr_thread_rwlock_t *rwlock)
 
apr_status_t apr_thread_rwlock_tryrdlock (apr_thread_rwlock_t *rwlock)
 
apr_status_t apr_thread_rwlock_wrlock (apr_thread_rwlock_t *rwlock)
 
apr_status_t apr_thread_rwlock_trywrlock (apr_thread_rwlock_t *rwlock)
 
apr_status_t apr_thread_rwlock_unlock (apr_thread_rwlock_t *rwlock)
 
apr_status_t apr_thread_rwlock_destroy (apr_thread_rwlock_t *rwlock)
 
apr_pool_tapr_thread_rwlock_pool_get (const apr_thread_rwlock_t *thethread_rwlock)
 
-

Detailed Description

-

Typedef Documentation

+

Detailed Description

+

Typedef Documentation

@@ -112,7 +122,7 @@ Functions
-

Function Documentation

+

Function Documentation

@@ -155,7 +165,7 @@ Functions apr_status_t apr_thread_rwlock_destroy ( apr_thread_rwlock_t *  - rwlock) + rwlock) @@ -178,7 +188,7 @@ Functions apr_pool_t* apr_thread_rwlock_pool_get ( const apr_thread_rwlock_t *  - thethread_rwlock) + thethread_rwlock) @@ -196,7 +206,7 @@ Functions apr_status_t apr_thread_rwlock_rdlock ( apr_thread_rwlock_t *  - rwlock) + rwlock) @@ -219,7 +229,7 @@ Functions apr_status_t apr_thread_rwlock_tryrdlock ( apr_thread_rwlock_t *  - rwlock) + rwlock) @@ -242,7 +252,7 @@ Functions apr_status_t apr_thread_rwlock_trywrlock ( apr_thread_rwlock_t *  - rwlock) + rwlock) @@ -265,7 +275,7 @@ Functions apr_status_t apr_thread_rwlock_unlock ( apr_thread_rwlock_t *  - rwlock) + rwlock) @@ -288,7 +298,7 @@ Functions apr_status_t apr_thread_rwlock_wrlock ( apr_thread_rwlock_t *  - rwlock) + rwlock) @@ -306,9 +316,9 @@ Functions