Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create/use a library to create Atomic Enum. #107

Closed
todo bot opened this issue Dec 22, 2018 · 1 comment
Closed

Create/use a library to create Atomic Enum. #107

todo bot opened this issue Dec 22, 2018 · 1 comment
Assignees
Labels
project-kernel Related to the kernel todo 🗒️ Created by the todo bot type-refactoring Cleanup and refactoring tasks

Comments

@todo
Copy link

todo bot commented Dec 22, 2018

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.
@todo todo bot assigned roblabla Dec 22, 2018
@todo todo bot added the todo 🗒️ Created by the todo bot label Dec 22, 2018
@roblabla roblabla added project-kernel Related to the kernel type-refactoring Cleanup and refactoring tasks labels Dec 23, 2018
@roblabla
Copy link
Member

Fixed with c757a90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project-kernel Related to the kernel todo 🗒️ Created by the todo bot type-refactoring Cleanup and refactoring tasks
Projects
None yet
Development

No branches or pull requests

1 participant