Function ocl_core::set_event_callback
[−]
[src]
pub unsafe fn set_event_callback<'e, E: ClEventPtrRef<'e>>(
event: &'e E,
callback_trigger: CommandExecutionStatus,
callback_receiver: Option<EventCallbackFn>,
user_data: *mut c_void
) -> OclResult<()>
Sets a callback function which is called as soon as the callback_trigger
status is reached.