#include <ioqueue.h>
Additional settings that can be given during ioqueue creation. Application MUST initialize this structure with pj_ioqueue_cfg_default().
◆ default_concurrency
pj_bool_t pj_ioqueue_cfg::default_concurrency |
Default concurrency for the handles registered to this ioqueue. Setting this to non-zero enables a handle to process more than one operations at the same time using different threads. Default is PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY. This setting is equivalent to calling pj_ioqueue_set_default_concurrency() after creating the ioqueue.
◆ epoll_flags
unsigned pj_ioqueue_cfg::epoll_flags |
Specify flags to control e.g. how events are handled when epoll backend is used on Linux. The values are combination of pj_ioqueue_epoll_flag. The default value is PJ_IOQUEUE_DEFAULT_EPOLL_FLAGS, which by default is set to PJ_IOQUEUE_EPOLL_AUTO. This setting will be ignored for other ioqueue backends.
The documentation for this struct was generated from the following file: