upump-ev/upump_ev.h header reference
Header inclusion [link]
Members [link]
Functions [link]
- 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 [link]
#define UPUMP_EV_SIGNATURE [link]
This macro is declared in upump-ev/upump_ev.h source file, line 43.
#define _UPUMP_EV_UPUMP_EV_H_ [link]
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) [link]
This function is declared in upump-ev/upump_ev.h source file, line 57.
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) [link]
This function is declared in upump-ev/upump_ev.h source file, line 68.
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) [link]
This function is declared in upump-ev/upump_ev.h source file, line 79.
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