Skip to main content

cef_waitable_event_create

Function cef_waitable_event_create 

Source
pub unsafe extern "C" fn cef_waitable_event_create(
    automatic_reset: c_int,
    initially_signaled: c_int,
) -> *mut cef_waitable_event_t
Expand description

Create a new waitable event. If |automatic_reset| is true (1) then the event state is automatically reset to un-signaled after a single waiting thread has been released; otherwise, the state remains signaled until reset() is called manually. If |initially_signaled| is true (1) then the event will start in the signaled state.