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

[Event] Cleanup handling of events #2

Open
alnyan opened this issue Aug 30, 2023 · 0 comments
Open

[Event] Cleanup handling of events #2

alnyan opened this issue Aug 30, 2023 · 0 comments

Comments

@alnyan
Copy link
Owner

alnyan commented Aug 30, 2023

Currently, events have to use immutably borrowed AcpiSystem due to how they're handled and stored inside AcpiSystem itself. As a consequence, they either have to queue the actions somewhere else (to be handled outside of acpi-system crate) or, as it is implemented now, return an EventAction to be taken by the AcpiSystem, I don't really like this idea and there might possibly be a better solution to this.

@alnyan alnyan mentioned this issue Aug 30, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant