Files
jsix/definitions/objects/event.def
Justin C. Miller 5dfc6ae62e [kernel] Add event syscalls
The event object was missing any syscalls. Furthermore, kobject had an
old object_signal implementation (the syscall itself no longer exists),
which was removed. User code should only be able to set signals on
events.
2022-01-30 21:00:46 -08:00

21 lines
375 B
Modula-2

object event : object {
uid f441e03da5516b1a
capabilities [
signal
]
method create [constructor]
# Assert signals on the event from the given bitset
method signal [cap:signal] {
param signals uint64
}
# De-assert signals on the event from the given bitset
method clear [cap:signal] {
param mask uint64
}
}