[−][src]Function sunrise_kernel::syscalls::signal_event
pub fn signal_event(handle: u32) -> Result<(), UserspaceError>
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 crate::event::ReadableEvent or a crate::event::WritableEvent.