1 #ifndef ACL_THREADS_PARAMS_INCLUDE_H 2 #define ACL_THREADS_PARAMS_INCLUDE_H 4 #include "../stdlib/acl_define.h" 6 #ifndef ACL_CLIENT_ONLY 15 #define ACL_VAR_THREADS_BUF_SIZE "ioctl_buf_size" 16 #define ACL_DEF_THREADS_BUF_SIZE 8192 19 #define ACL_VAR_THREADS_RW_TIMEOUT "ioctl_rw_timeout" 20 #define ACL_DEF_THREADS_RW_TIMEOUT 30 23 #define ACL_VAR_THREADS_POOL_LIMIT "ioctl_max_threads" 24 #define ACL_DEF_THREADS_POOL_LIMIT 50 27 #define ACL_VAR_THREADS_THREAD_STACKSIZE "ioctl_stacksize" 28 #define ACL_DEF_THREADS_THREAD_STACKSIZE 0 31 #define ACL_VAR_THREADS_THREAD_IDLE "ioctl_thread_idle_limit" 32 #define ACL_DEF_THREADS_THREAD_IDLE 120 35 #define ACL_VAR_THREADS_IDLE_LIMIT "ioctl_idle_limit" 36 #define ACL_DEF_THREADS_IDLE_LIMIT 0 39 #define ACL_VAR_THREADS_USE_LIMIT "ioctl_use_limit" 40 #define ACL_DEF_THREADS_USE_LIMIT 0 43 #define ACL_VAR_THREADS_QUEUE_DIR "ioctl_queue_dir" 44 #define ACL_DEF_THREADS_QUEUE_DIR "/opt/acl_master/var/queue" 47 #define ACL_VAR_THREADS_OWNER "ioctl_owner" 48 #define ACL_DEF_THREADS_OWNER "root" 51 #define ACL_VAR_THREADS_DELAY_SEC "ioctl_delay_sec" 52 #define ACL_DEF_THREADS_DELAY_SEC 1 55 #define ACL_VAR_THREADS_DELAY_USEC "ioctl_delay_usec" 56 #define ACL_DEF_THREADS_DELAY_USEC 5000 59 #define ACL_VAR_THREADS_EVENT_MODE "ioctl_event_mode" 61 #define ACL_DEF_THREADS_EVENT_MODE "kernel" 63 #define ACL_DEF_THREADS_EVENT_MODE "select" 67 #define ACL_VAR_THREADS_DAEMON_TIMEOUT "ioctl_daemon_timeout" 68 #define ACL_DEF_THREADS_DAEMON_TIMEOUT 1800 71 #define ACL_VAR_THREADS_MASTER_MAXPROC "master_maxproc" 72 #define ACL_DEF_THREADS_MASTER_MAXPROC 1 75 #define ACL_VAR_THREADS_MAX_ACCEPT "ioctl_max_accept" 76 #define ACL_DEF_THREADS_MAX_ACCEPT 15 79 #define ACL_VAR_THREADS_ENABLE_DOG "ioctl_enable_dog" 81 #define ACL_DEF_THREADS_ENABLE_DOG 0 83 #define ACL_DEF_THREADS_ENABLE_DOG 1 87 #define ACL_VAR_THREADS_QUICK_ABORT "ioctl_quick_abort" 88 #define ACL_DEF_THREADS_QUICK_ABORT 1 91 #define ACL_VAR_THREADS_ENABLE_CORE "ioctl_enable_core" 92 #define ACL_DEF_THREADS_ENABLE_CORE 1 95 #define ACL_VAR_THREADS_DISABLE_CORE_ONEXIT "ioctl_disable_core_onexit" 96 #define ACL_DEF_THREADS_DISABLE_CORE_ONEXIT 1 99 #define ACL_VAR_THREADS_CORE_LIMIT "ioctl_core_limit" 100 #define ACL_DEF_THREADS_CORE_LIMIT -1 103 #define ACL_VAR_THREADS_LOG_DEBUG "master_debug" 104 #define ACL_DEF_THREADS_LOG_DEBUG "" 107 #define ACL_VAR_THREADS_MAX_DEBUG "master_debug_max" 108 #define ACL_DEF_THREADS_MAX_DEBUG 1000 111 #define ACL_VAR_THREADS_STATUS_NOTIFY "master_status_notify" 112 #define ACL_DEF_THREADS_STATUS_NOTIFY 1 115 #define ACL_VAR_THREADS_DENY_BANNER "ioctl_deny_banner" 116 #define ACL_DEF_THREADS_DENY_BANNER "You'are not Welcome!" 119 #define ACL_VAR_THREADS_ACCESS_ALLOW "ioctl_access_allow" 120 #define ACL_DEF_THREADS_ACCESS_ALLOW "all" 123 #define ACL_VAR_THREADS_BATADD "ioctl_batadd" 124 #define ACL_DEF_THREADS_BATADD 0 127 #define ACL_VAR_THREADS_SCHEDULE_WARN "ioctl_schedule_warn" 128 #define ACL_DEF_THREADS_SCHEDULE_WARN 100 131 #define ACL_VAR_THREADS_SCHEDULE_WAIT "ioctl_schedule_wait" 132 #define ACL_DEF_THREADS_SCHEDULE_WAIT 50 135 #define ACL_VAR_THREADS_CHECK_INTER "ioctl_check_inter" 136 #define ACL_DEF_THREADS_CHECK_INTER 100 139 #define ACL_VAR_THREADS_QLEN_WARN "ioctl_qlen_warn" 140 #define ACL_DEF_THREADS_QLEN_WARN 0 143 #define ACL_VAR_THREADS_DISPATCH_ADDR "ioctl_dispatch_addr" 144 #define ACL_DEF_THREADS_DISPATCH_ADDR "" 147 #define ACL_VAR_THREADS_DISPATCH_TYPE "ioctl_dispatch_type" 148 #define ACL_DEF_THREADS_DISPATCH_TYPE "default" char * acl_var_threads_queue_dir
int acl_var_threads_master_maxproc
int acl_var_threads_pool_limit
char * acl_var_threads_deny_banner
int acl_var_threads_use_limit
int acl_var_threads_schedule_warn
int acl_var_threads_buf_size
int acl_var_threads_rw_timeout
int acl_var_threads_quick_abort
int acl_var_threads_check_inter
char * acl_var_threads_owner
long long int acl_var_threads_core_limit
int acl_var_threads_enable_dog
int acl_var_threads_daemon_timeout
int acl_var_threads_thread_idle
int acl_var_threads_idle_limit
char * acl_var_threads_procname
int acl_var_threads_thread_stacksize
char * acl_var_threads_log_file
char * acl_var_threads_access_allow
int acl_var_threads_status_notify
int acl_var_threads_qlen_warn
int acl_var_threads_delay_sec
char * acl_var_threads_dispatch_addr
char * acl_var_threads_dispatch_type
int acl_var_threads_max_debug
int acl_var_threads_max_accept
char * acl_var_threads_log_debug
int acl_var_threads_disable_core_onexit
int acl_var_threads_delay_usec
int acl_var_threads_schedule_wait
int acl_var_threads_batadd
int acl_var_threads_enable_core
char * acl_var_threads_event_mode