grpcio_sys

Function gpr_event_set

Source
pub unsafe extern "C" fn gpr_event_set(
    ev: *mut gpr_event,
    value: *mut c_void,
)
Expand description

Set *ev so that gpr_event_get() and gpr_event_wait() will return value. Requires: *ev initialized; value != NULL; no prior or concurrent calls to gpr_event_set(ev, …) since initialization.