Create/use a library to create Atomic Enum. #107
Labels
project-kernel
Related to the kernel
todo 🗒️
Created by the todo bot
type-refactoring
Cleanup and refactoring tasks
We have at least one (probably more) atomic enums that we rolled by hand in the kernel. The one I know about: ThreadStateAtomic. Really, this should ideally be done automatically by a crate, either a macro or a custom derive. This would allow us to auto-generate the documentation.
https://github.com/roblabla42/KFS/blob/adee47274ba5c0dc0ef112ce8933becd63d3da77/kernel/src/process.rs#L326-L333
This issue was generated by todo based on a
TODO
comment in adee472 when #90 was merged. cc @roblabla.The text was updated successfully, but these errors were encountered: