23 #define APR_WANT_STDIO
24 #define APR_WANT_STRFUNC
30 #if APR_HAVE_SYS_TYPES_H
31 #include <sys/types.h>
60 #ifdef HAVE_SYS_PROCESSOR_H
61 #include <sys/processor.h>
65 #include <sys/times.h>
78 #ifndef DEFAULT_SERVER_LIMIT
79 #define DEFAULT_SERVER_LIMIT 256
85 #ifndef MAX_SERVER_LIMIT
86 #define MAX_SERVER_LIMIT 200000
96 #ifndef DEFAULT_THREAD_LIMIT
97 #define DEFAULT_THREAD_LIMIT 64
103 #ifndef MAX_THREAD_LIMIT
104 #define MAX_THREAD_LIMIT 100000
107 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
158 int flags,
void *baton);
160 int flags,
void *baton);
Symbol export macros and hook functions.
Apache Listeners Library.
Apache Multi-Processing Module library.
APR Platform Definitions.
APR Portability Routines.
APR skip list implementation.
APR Thread and Process Library.
APR Standard Headers Support.
struct apr_bucket_alloc_t apr_bucket_alloc_t
Definition: apr_buckets.h:128
struct apr_thread_pool apr_thread_pool_t
Definition: apr_thread_pool.h:58
dav_resource int dav_locktoken dav_response int flags
Definition: mod_dav.h:1458
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
struct apr_skiplist apr_skiplist
Definition: apr_skiplist.h:56
apr_int64_t apr_time_t
Definition: apr_time.h:45
Apache connection library.
void(* motorz_io_file_cb)(motorz_core_t *mz, apr_socket_t *sock, int flags, void *baton)
Definition: motorz.h:159
motorz_poll_type_e
Definition: motorz.h:143
@ PT_CSD
Definition: motorz.h:144
@ PT_ACCEPT
Definition: motorz.h:145
@ PT_USER
Definition: motorz.h:146
void(* motorz_timer_cb)(motorz_core_t *mz, void *baton)
Definition: motorz.h:156
void(* motorz_io_sock_cb)(motorz_core_t *mz, apr_socket_t *sock, int flags, void *baton)
Definition: motorz.h:157
Multi-Processing Modules functions.
Apache scoreboard library.
struct ap_sb_handle_t ap_sb_handle_t
Definition: scoreboard.h:163
Apache's listeners record.
Definition: ap_listen.h:54
Definition: mpm_common.h:240
Definition: apr_poll.h:109
Definition: apr_arch_poll_private.h:124
Definition: apr_arch_proc_mutex.h:27
Definition: apr_arch_networkio.h:37
Definition: apr_arch_thread_mutex.h:28
Structure to store things which are per connection.
Definition: httpd.h:1193
A structure to contain connection state information.
Definition: httpd.h:1340
ap_pod_t * pod
Definition: motorz.h:137
apr_proc_mutex_t * mutex
Definition: motorz.h:139
ap_listen_rec * listeners
Definition: motorz.h:138
request_rec * r
Definition: motorz.h:184
conn_state_t cs
Definition: motorz.h:190
apr_socket_t * sock
Definition: motorz.h:178
apr_bucket_alloc_t * ba
Definition: motorz.h:179
apr_pool_t * pool
Definition: motorz.h:176
motorz_timer_t timer
Definition: motorz.h:192
apr_pollfd_t pfd
Definition: motorz.h:188
ap_sb_handle_t * sbh
Definition: motorz.h:180
conn_rec * c
Definition: motorz.h:182
int suspended
Definition: motorz.h:186
motorz_core_t * mz
Definition: motorz.h:177
apr_thread_mutex_t * mtx
Definition: motorz.h:129
int first_server_limit
Definition: motorz.h:120
ap_unixd_mpm_retained_data * mpm
Definition: motorz.h:118
apr_pool_t * pool
Definition: motorz.h:128
int max_daemons_limit
Definition: motorz.h:127
apr_thread_pool_t * workers
Definition: motorz.h:132
apr_pollset_t * pollset
Definition: motorz.h:130
apr_skiplist * timeout_ring
Definition: motorz.h:131
int maxclients_reported
Definition: motorz.h:121
motorz_poll_type_e type
Definition: motorz.h:152
void * baton
Definition: motorz.h:153
motorz_timer_cb cb
Definition: motorz.h:167
void * baton
Definition: motorz.h:168
apr_time_t expires
Definition: motorz.h:166
apr_pool_t * pool
Definition: motorz.h:169
motorz_core_t * mz
Definition: motorz.h:170
A structure that represents the current request.
Definition: httpd.h:856
common stuff that unix MPMs will want
Apache Mutex support library.
Apache date-time handling functions.