[][src]Function sunrise_kernel::syscalls::create_event

pub fn create_event() -> Result<(usize, usize), UserspaceError>

Create a WritableEvent/ReadableEvent pair. Signals on the WritableEvent will cause threads waiting on the ReadableEvent to wake up until the signal is cleared/reset.