Threads and Process Functions
[Apache Portability Runtime library]


Modules

 Other Child Flags

Data Structures

struct  apr_proc_t

Defines

#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_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 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_FUNC * apr_thread_start_t )(apr_thread_t *, void *)

Enumerations

enum  apr_cmdtype_e {
  APR_SHELLCMD, APR_PROGRAM, APR_PROGRAM_ENV, APR_PROGRAM_PATH,
  APR_SHELLCMD_ENV
}
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_kill_conditions_e {
  apr_status_t apr_thread_mutex_lock
( apr_thread_mutex_t mutex  ) 

Acquire the lock for the given mutex. If the mutex is already locked, the current thread will be put to sleep until the lock becomes available.

Parameters:
mutex the mutex on which to acquire the lock.

apr_pool_t* apr_thread_mutex_pool_get ( const apr_thread_mutex_t thethread_mutex  ) 

Get the pool used by this thread_mutex.

Returns:
apr_pool_t the pool

apr_status_t apr_thread_mutex_trylock ( apr_thread_mutex_t mutex  ) 

Attempt to acquire the lock for the given mutex. If the mutex has already been acquired, the call returns immediately with APR_EBUSY. Note: it is important that the APR_STATUS_IS_EBUSY(s) macro be used to determine if the return value was APR_EBUSY, for portability reasons.

Parameters:
mutex the mutex on which to attempt the lock acquiring.

apr_status_t apr_thread_mutex_unlock ( apr_thread_mutex_t mutex  ) 

Release the lock for the given mutex.

Parameters:
mutex the mutex from which to release the lock.


Generated on Thu May 19 06:28:17 2011 for Apache Portable Runtime by  doxygen 1.5.6
./usr/share/doc/libapr1-dev/html/group__apr__thread__proc.html0000644000000000000000000042207311565134201023344 0ustar rootroot Apache Portable Runtime: Threads and Process Functions

Threads and Process Functions
[Apache Portability Runtime library]


Modules

 Other Child Flags

Data Structures

struct  apr_proc_t

Defines

#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_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 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_FUNC * apr_thread_start_t )(apr_thread_t *, void *)

Enumerations

enum  apr_cmdtype_e {
  APR_SHELLCMD, APR_PROGRAM, APR_PROGRAM_ENV, APR_PROGRAM_PATH,
  APR_SHELLCMD_ENV
}
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_kill_conditions_e {
  apr_status_t apr_thread_mutex_lock
( apr_thread_mutex_t mutex  ) 

Acquire the lock for the given mutex. If the mutex is already locked, the current thread will be put to sleep until the lock becomes available.

Parameters:
mutex the mutex on which to acquire the lock.

apr_pool_t* apr_thread_mutex_pool_get ( const apr_thread_mutex_t thethread_mutex  ) 

Get the pool used by this thread_mutex.

Returns:
apr_pool_t the pool

apr_status_t apr_thread_mutex_trylock ( apr_thread_mutex_t mutex  ) 

Attempt to acquire the lock for the given mutex. If the mutex has already been acquired, the call returns immediately with APR_EBUSY. Note: it is important that the APR_STATUS_IS_EBUSY(s) macro be used to determine if the return value was APR_EBUSY, for portability reasons.

Parameters:
mutex the mutex on which to attempt the lock acquiring.

apr_status_t apr_thread_mutex_unlock ( apr_thread_mutex_t mutex  ) 

Release the lock for the given mutex.

Parameters:
mutex the mutex from which to release the lock.


Generated on Thu May 19 06:28:17 2011 for Apache Portable Runtime by  doxygen 1.5.6
./usr/share/doc/libapr1-dev/html/group__apr__thread__proc.html0000644000000000000000000042207311565134201023344 0ustar rootroot Apache Portable Runtime: Threads and Process Functions

Threads and Process Functions
[Apache Portability Runtime library]


Modules

 Other Child Flags

Data Structures

struct  apr_proc_t

Defines

#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_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 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_FUNC * apr_thread_start_t )(apr_thread_t *, void *)

Enumerations

enum  apr_cmdtype_e {
  APR_SHELLCMD, APR_PROGRAM, APR_PROGRAM_ENV, APR_PROGRAM_PATH,
  APR_SHELLCMD_ENV
}
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_kill_conditions_e {
  apr_status_t apr_thread_mutex_lock
( apr_thread_mutex_t mutex  ) 

Acquire the lock for the given mutex. If the mutex is already locked, the current thread will be put to sleep until the lock becomes available.

Parameters:
mutex the mutex on which to acquire the lock.

apr_pool_t* apr_thread_mutex_pool_get ( const apr_thread_mutex_t thethread_mutex  ) 

Get the pool used by this thread_mutex.

Returns:
apr_pool_t the pool

apr_status_t apr_thread_mutex_trylock ( apr_thread_mutex_t mutex  ) 

Attempt to acquire the lock for the given mutex. If the mutex has already been acquired, the call returns immediately with APR_EBUSY. Note: it is important that the APR_STATUS_IS_EBUSY(s) macro be used to determine if the return value was APR_EBUSY, for portability reasons.

Parameters:
mutex the mutex on which to attempt the lock acquiring.

apr_status_t apr_thread_mutex_unlock ( apr_thread_mutex_t mutex  ) 

Release the lock for the given mutex.

Parameters:
mutex the mutex from which to release the lock.


Generated on Thu May 19 06:28:17 2011 for Apache Portable Runtime by  doxygen 1.5.6
./usr/share/doc/libapr1-dev/html/group__apr__thread__proc.html0000644000000000000000000042207311565134201023344 0ustar rootroot Apache Portable Runtime: Threads and Process Functions

Threads and Process Functions
[Apache Portability Runtime library]


Modules

 Other Child Flags

Data Structures

struct  apr_proc_t

Defines

#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_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 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_FUNC * apr_thread_start_t )(apr_thread_t *, void *)

Enumerations

enum  apr_cmdtype_e {
  APR_SHELLCMD, APR_PROGRAM, APR_PROGRAM_ENV, APR_PROGRAM_PATH,
  APR_SHELLCMD_ENV
}
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_kill_conditions_e {
  apr_status_t apr_thread_mutex_lock
( apr_thread_mutex_t mutex  ) 

Acquire the lock for the given mutex. If the mutex is already locked, the current thread will be put to sleep until the lock becomes available.

Parameters:
mutex the mutex on which to acquire the lock.

apr_pool_t* apr_thread_mutex_pool_get ( const apr_thread_mutex_t thethread_mutex  ) 

Get the pool used by this thread_mutex.

Returns:
apr_pool_t the pool

apr_status_t apr_thread_mutex_trylock ( apr_thread_mutex_t mutex  ) 

Attempt to acquire the lock for the given mutex. If the mutex has already been acquired, the call returns immediately with APR_EBUSY. Note: it is important that the APR_STATUS_IS_EBUSY(s) macro be used to determine if the return value was APR_EBUSY, for portability reasons.

Parameters:
mutex the mutex on which to attempt the lock acquiring.

apr_status_t apr_thread_mutex_unlock ( apr_thread_mutex_t mutex  ) 

Release the lock for the given mutex.

Parameters:
mutex the mutex from which to release the lock.


Generated on Thu May 19 06:28:17 2011 for Apache Portable Runtime by  doxygen 1.5.6
./usr/share/doc/libapr1-dev/html/group__apr__thread__proc.html0000644000000000000000000042207311565134201023344 0ustar rootroot Apache Portable Runtime: Threads and Process Functions

Threads and Process Functions
[Apache Portability Runtime library]


Modules

 Other Child Flags

Data Structures

struct  apr_proc_t

Defines

#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_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 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_FUNC * apr_thread_start_t )(apr_thread_t *, void *)

Enumerations

enum  apr_cmdtype_e {
  APR_SHELLCMD, APR_PROGRAM, APR_PROGRAM_ENV, APR_PROGRAM_PATH,
  APR_SHELLCMD_ENV
}
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_kill_conditions_e {
  apr_status_t apr_thread_mutex_lock
( apr_thread_mutex_t mutex  ) 

Acquire the lock for the given mutex. If the mutex is already locked, the current thread will be put to sleep until the lock becomes available.

Parameters:
mutex the mutex on which to acquire the lock.

apr_pool_t* apr_thread_mutex_pool_get ( const apr_thread_mutex_t thethread_mutex  ) 

Get the pool used by this thread_mutex.

Returns:
apr_pool_t the pool

apr_status_t apr_thread_mutex_trylock ( apr_thread_mutex_t mutex  ) 

Attempt to acquire the lock for the given mutex. If the mutex has already been acquired, the call returns immediately with APR_EBUSY. Note: it is important that the APR_STATUS_IS_EBUSY(s) macro be used to determine if the return value was APR_EBUSY, for portability reasons.

Parameters:
mutex the mutex on which to attempt the lock acquiring.

apr_status_t apr_thread_mutex_unlock ( apr_thread_mutex_t mutex  ) 

Release the lock for the given mutex.

Parameters:
mutex the mutex from which to release the lock.


Generated on Thu May 19 06:28:17 2011 for Apache Portable Runtime by  doxygen 1.5.6
./usr/share/doc/libapr1-dev/html/group__apr__thread__proc.html0000644000000000000000000042207311565134201023344 0ustar rootroot Apache Portable Runtime: Threads and Process Functions

Threads and Process Functions
[Apache Portability Runtime library]


Modules

 Other Child Flags

Data Structures

struct  apr_proc_t

Defines

#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_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 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_FUNC * apr_thread_start_t )(apr_thread_t *, void *)

Enumerations

enum  apr_cmdtype_e {
  APR_SHELLCMD, APR_PROGRAM, APR_PROGRAM_ENV, APR_PROGRAM_PATH,
  APR_SHELLCMD_ENV
}
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_kill_conditions_e {
  apr_status_t apr_thread_mutex_lock
( apr_thread_mutex_t mutex  ) 

Acquire the lock for the given mutex. If the mutex is already locked, the current thread will be put to sleep until the lock becomes available.

Parameters:
mutex the mutex on which to acquire the lock.

apr_pool_t* apr_thread_mutex_pool_get ( const apr_thread_mutex_t thethread_mutex  ) 

Get the pool used by this thread_mutex.

Returns:
apr_pool_t the pool

apr_status_t apr_thread_mutex_trylock ( apr_thread_mutex_t mutex  ) 

Attempt to acquire the lock for the given mutex. If the mutex has already been acquired, the call returns immediately with APR_EBUSY. Note: it is important that the APR_STATUS_IS_EBUSY(s) macro be used to determine if the return value was APR_EBUSY, for portability reasons.

Parameters:
mutex the mutex on which to attempt the lock acquiring.

apr_status_t apr_thread_mutex_unlock ( apr_thread_mutex_t mutex  ) 

Release the lock for the given mutex.

Parameters:
mutex the mutex from which to release the lock.


Generated on Thu May 19 06:28:17 2011 for Apache Portable Runtime by  doxygen 1.5.6
./usr/share/doc/libapr1-dev/html/group__apr__thread__proc.html0000644000000000000000000042207311565134201023344 0ustar rootroot Apache Portable Runtime: Threads and Process Functions

Threads and Process Functions
[Apache Portability Runtime library]


Modules

 Other Child Flags

Data Structures

struct  apr_proc_t

Defines

#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_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 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_FUNC * apr_thread_start_t )(apr_thread_t *, void *)

Enumerations

enum  apr_cmdtype_e {
  APR_SHELLCMD, APR_PROGRAM, APR_PROGRAM_ENV, APR_PROGRAM_PATH,
  APR_SHELLCMD_ENV
}
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_kill_conditions_e {
  apr_status_t apr_thread_mutex_lock
( apr_thread_mutex_t mutex  ) 

Acquire the lock for the given mutex. If the mutex is already locked, the current thread will be put to sleep until the lock becomes available.

Parameters:
mutex the mutex on which to acquire the lock.

apr_pool_t* apr_thread_mutex_pool_get ( const apr_thread_mutex_t thethread_mutex  ) 

Get the pool used by this thread_mutex.

Returns:
apr_pool_t the pool

apr_status_t apr_thread_mutex_trylock ( apr_thread_mutex_t mutex  ) 

Attempt to acquire the lock for the given mutex. If the mutex has already been acquired, the call returns immediately with APR_EBUSY. Note: it is important that the APR_STATUS_IS_EBUSY(s) macro be used to determine if the return value was APR_EBUSY, for portability reasons.

Parameters:
mutex the mutex on which to attempt the lock acquiring.

apr_status_t apr_thread_mutex_unlock ( apr_thread_mutex_t mutex  ) 

Release the lock for the given mutex.

Parameters:
mutex the mutex from which to release the lock.


Generated on Thu May 19 06:28:17 2011 for Apache Portable Runtime by  doxygen 1.5.6
./usr/share/doc/libapr1-dev/html/group__apr__thread__proc.html0000644000000000000000000042207311565134201023344 0ustar rootroot Apache Portable Runtime: Threads and Process Functions

Threads and Process Functions
[Apache Portability Runtime library]


Modules

 Other Child Flags

Data Structures

struct  apr_proc_t

Defines

#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_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 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_FUNC * apr_thread_start_t )(apr_thread_t *, void *)

Enumerations

enum  apr_cmdtype_e {
  APR_SHELLCMD, APR_PROGRAM, APR_PROGRAM_ENV, APR_PROGRAM_PATH,
  APR_SHELLCMD_ENV
}
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_kill_conditions_e {
  apr_status_t apr_thread_mutex_lock
( apr_thread_mutex_t mutex  ) 

Acquire the lock for the given mutex. If the mutex is already locked, the current thread will be put to sleep until the lock becomes available.

Parameters:
mutex the mutex on which to acquire the lock.

apr_pool_t* apr_thread_mutex_pool_get ( const apr_thread_mutex_t thethread_mutex  ) 

Get the pool used by this thread_mutex.

Returns:
apr_pool_t the pool

apr_status_t apr_thread_mutex_trylock ( apr_thread_mutex_t mutex  ) 

Attempt to acquire the lock for the given mutex. If the mutex has already been acquired, the call returns immediately with APR_EBUSY. Note: it is important that the APR_STATUS_IS_EBUSY(s) macro be used to determine if the return value was APR_EBUSY, for portability reasons.

Parameters:
mutex the mutex on which to attempt the lock acquiring.

apr_status_t apr_thread_mutex_unlock ( apr_thread_mutex_t mutex  ) 

Release the lock for the given mutex.

Parameters:
mutex the mutex from which to release the lock.


Generated on Thu May 19 06:28:17 2011 for Apache Portable Runtime by  doxygen 1.5.6
./usr/share/doc/libapr1-dev/html/group__apr__thread__proc.html0000644000000000000000000042207311565134201023344 0ustar rootroot Apache Portable Runtime: Threads and Process Functions

Threads and Process Functions
[Apache Portability Runtime library]


Modules

 Other Child Flags

Data Structures

struct  apr_proc_t

Defines

#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_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 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_FUNC * apr_thread_start_t )(apr_thread_t *, void *)

Enumerations

enum  apr_cmdtype_e {
  APR_SHELLCMD, APR_PROGRAM, APR_PROGRAM_ENV, APR_PROGRAM_PATH,