Function grpcio_sys::gpr_event_wait [−][src]
pub unsafe extern "C" fn gpr_event_wait(
ev: *mut gpr_event,
abs_deadline: gpr_timespec
) -> *mut c_void
Wait until *ev is set by gpr_event_set(ev, …), or abs_deadline is exceeded, then return gpr_event_get(ev). Requires: *ev initialized. Use abs_deadline==gpr_inf_future for no deadline. When the event has been signalled before the call, this operation is faster than acquiring a mutex on most platforms.