Files
moss-kernel/src/process
Matthew Leach 770f32c30c process: signals: add interruptable()
Add a new struct, `InterruptableFut` which allows signal
short-circuiting logic. If a future within the kernel's syscall logic is
wrapped in a `InterruptableFut`, then a wakeup with any pending signals
causes the underlying future to be dropped and it's operation cancelled.

Provide a `InterruptResult` enum to allow the caller to know whether the
operation was interrupted and allows them to take appropriate action.
Typically exiting with `-EINTR`.

Finally, provide a blanket implementation for all futures, allowing then
to call `.interruptable()` to easily wrap any future.
2026-01-17 10:21:17 +00:00
..
2026-01-13 16:48:33 -08:00
2026-01-11 19:23:47 -08:00
2026-01-11 19:23:47 -08:00
2026-01-17 10:21:17 +00:00
2026-01-17 08:35:33 +00:00
2026-01-13 16:48:01 -08:00