[][src]Function sunrise_kernel::syscalls::clear_event

pub fn clear_event(handle: u32) -> Result<(), UserspaceError>

Clear the "signaled" state of an event. After calling this on a signaled event, wait_synchronization() on this handle will wait until signal_event() is called once again.

Calling this on a non-signaled event is a noop.

Takes either a crate::event::ReadableEvent or a crate::event::WritableEvent.

Errors