pub unsafe extern "C" fn us_create_loop(
hint: *mut c_void,
wakeup_cb: Option<unsafe extern "C" fn(*mut PosixLoop)>,
pre_cb: Option<unsafe extern "C" fn(*mut PosixLoop)>,
post_cb: Option<unsafe extern "C" fn(*mut PosixLoop)>,
ext_size: u32,
) -> *mut PosixLoopExpand description
Loop construction. Provided by libusockets.a (C, loop.c). Allocates sizeof(us_loop_t) + ext_size and initialises wakeup eventfd.