Function tarantool_rust_module::coio_wait [] [src]

pub unsafe extern "C" fn coio_wait(
    fd: c_int,
    event: c_int,
    timeout: f64
) -> c_int

Wait until READ or WRITE event on socket (\a fd). Yields. \param fd - non-blocking socket file description \param events - requested events to wait. Combination of TNT_IO_READ | TNT_IO_WRITE bit flags. \param timeoout - timeout in seconds. \retval 0 - timeout \retval >0 - returned events. Combination of TNT_IO_READ | TNT_IO_WRITE bit flags.