Commit Graph

6 Commits

Author SHA1 Message Date
bjorn3 07657eb50e scheme-utils: Panic on nonblocking scheme write 2026-04-18 16:49:21 +02:00
bjorn3 a2bc1dd79c scheme-utils: Panic on scheme EOF
EOF used to be triggered by unmounting a scheme, but this is no longer
the case since namespaces got moved to userspace. Unmounting now only
closes the scheme root fd.
2026-04-18 16:49:21 +02:00
bjorn3 a5018ca37e scheme-utils: Merge read_requests and process_requests
And simplify some matches on the resulting method.
2026-04-18 16:49:21 +02:00
bjorn3 4ef2c7ad6f scheme-utils: Remove the need for RefCell wrappers around schemes for ReadinessBased 2026-04-18 16:49:21 +02:00
bjorn3 ca281c9395 scheme-utils: Copy ReadinessBased from redox-scheme to scheme-utils
To allow improving the implementation and interface in this repo and
move it back into redox-scheme later.
2026-04-18 16:49:03 +02:00
bjorn3 317a0178b6 Introduce scheme-utils crate and HandleMap type
HandleMap deduplicates the id assignment for handles and unlike most
existing implementations handles overflow just fine.
2026-04-13 22:19:07 +02:00