-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Raw interface specificity:
- Should the priority-based scheduling be enforced at API level? How should the test suite handle kernels without strict scheduling?
- Some kernel implementations may prefer not returning
BadIdand causing an undefined behavior instead.
Raw interface extensibility:
-
MutexProtocolshould benon_exhaustive? How is the kernel supposed to deal with unknown values? - The same goes for
QueueOrder - Multi-processing
- Some properties added to a
Bagmight be unsafe to ignore. How can we ensure the safety? What properties might fall under this criterion?
API design:
- Implement object safety
- The definer methods should be named
defineto make room for runtime construction. -
r3::kernel::Cfgisn't a pretty name. -
Kernelis not arawtrait.KernelMutexis arawtrait. But they are both intraits. - Is it really a good idea to require application code to use
rawtraits in trait bounds but useKernelfor global operations?Kernelbeing a kitchen sink is actually consistent with higher-level kernel object wrappers (like howTask::set_priorityis bound bySystem: raw::KernelTaskSetPriority). But the real problem is that therawtraits are supposed to be bound by kernel-side semver guarantees.
r3_kernel:
-
r3_kernel::CfgBuilderis an awful name.
Documentation:
- Update
CHANGELOG.md - Define the versioning scheme
Metadata
Metadata
Assignees
Labels
No labels