Function grpcio_sys::gpr_event_get

source ·
pub unsafe extern "C" fn gpr_event_get(
    ev: *mut gpr_event
) -> *mut c_void
Expand description

Return the value set by gpr_event_set(ev, …), or NULL if no such call has completed. If the result is non-NULL, all operations that occurred prior to the gpr_event_set(ev, …) set will be visible after this call returns. Requires: *ev initialized. This operation is faster than acquiring a mutex on most platforms.