upump-ev/upump_ev.h header reference
Header inclusion
Members
Functions
- struct upump_mgr * upump_ev_mgr_alloc(struct ev_loop *ev_loop, uint16_t upump_pool_depth, uint16_t upump_blocker_pool_depth)
- struct upump_mgr * upump_ev_mgr_alloc_default(uint16_t upump_pool_depth, uint16_t upump_blocker_pool_depth)
- struct upump_mgr * upump_ev_mgr_alloc_loop(uint16_t upump_pool_depth, uint16_t upump_blocker_pool_depth)
Members detail
This macro is declared in upump-ev/upump_ev.h source file, line 41.
This macro is declared in upump-ev/upump_ev.h source file, line 31.
struct upump_mgr * upump_ev_mgr_alloc(struct ev_loop *ev_loop, uint16_t upump_pool_depth, uint16_t upump_blocker_pool_depth)
This function is declared in upump-ev/upump_ev.h source file, line 55.
This function allocates and initializes a upump_mgr structure bound to a given ev loop.
Parameter list:
- ev_loop: pointer to an ev loop
- upump_pool_depth: maximum number of upump structures in the pool
- upump_blocker_pool_depth: maximum number of upump_blocker structures in the pool
The return value is pointer to the wrapped upump_mgr structure
struct upump_mgr * upump_ev_mgr_alloc_default(uint16_t upump_pool_depth, uint16_t upump_blocker_pool_depth)
This function is declared in upump-ev/upump_ev.h source file, line 66.
This function allocates and initializes a upump_mgr structure bound to the default ev loop.
Parameter list:
- upump_pool_depth: maximum number of upump structures in the pool
- upump_blocker_pool_depth: maximum number of upump_blocker structures in the pool
The return value is pointer to the wrapped upump_mgr structure
struct upump_mgr * upump_ev_mgr_alloc_loop(uint16_t upump_pool_depth, uint16_t upump_blocker_pool_depth)
This function is declared in upump-ev/upump_ev.h source file, line 77.
This function allocates and initializes a upump_mgr structure bound to an allocated ev loop.
Parameter list:
- upump_pool_depth: maximum number of upump structures in the pool
- upump_blocker_pool_depth: maximum number of upump_blocker structures in the pool
The return value is pointer to the wrapped upump_mgr structure