[][src]Function sunrise_libuser::syscalls::signal_event

pub fn signal_event(event: &WritableEvent) -> Result<(), KernelError>

Sets the "signaled" state of an event. Calling this on an unsignalled event will cause any thread waiting on this event through wait_synchronization() to wake up. Any future calls to wait_synchronization() with this handle will immediately return - the user has to clear the "signaled" state through clear_event().

Takes either a ReadableEvent or a WritableEvent.