[][src]Function sunrise_libuser::syscalls::clear_event

pub(crate) fn clear_event(event: HandleRef) -> Result<(), KernelError>

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.

Takes either a ReadableEvent or a WritableEvent.

Errors