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

EvseManager Charger timed mutexes, cleanup #526

Merged
merged 6 commits into from
Feb 9, 2024

Conversation

corneliusclaussen
Copy link
Contributor

Add timed mutexes that print stacktraces if they detect a deadlock Clean up Charger member variables
Use steady clock where possible

@corneliusclaussen corneliusclaussen force-pushed the cleanup/charger-timed-mutexes branch from bf2bef4 to 7d1cd56 Compare February 5, 2024 10:24
@corneliusclaussen corneliusclaussen marked this pull request as ready for review February 7, 2024 08:02
@corneliusclaussen corneliusclaussen force-pushed the cleanup/charger-timed-mutexes branch from 7126673 to fcd8dd9 Compare February 7, 2024 08:03
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can move the definition of this into lib/staging so other modules can use it as well. but this could be done in a future refactoring as well

Add timed mutexes that print stacktraces if they detect a deadlock
Clean up Charger member variables
Use steady clock where possible

Signed-off-by: Cornelius Claussen <[email protected]>
Signed-off-by: Cornelius Claussen <[email protected]>
Signed-off-by: Cornelius Claussen <[email protected]>
Signed-off-by: Cornelius Claussen <[email protected]>
Signed-off-by: Cornelius Claussen <[email protected]>
Signed-off-by: Cornelius Claussen <[email protected]>
@corneliusclaussen corneliusclaussen force-pushed the cleanup/charger-timed-mutexes branch from fcd8dd9 to 45a81c5 Compare February 9, 2024 10:18
@corneliusclaussen corneliusclaussen merged commit bf7aa77 into main Feb 9, 2024
4 of 5 checks passed
@corneliusclaussen corneliusclaussen deleted the cleanup/charger-timed-mutexes branch February 9, 2024 10:29
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

Successfully merging this pull request may close these issues.

2 participants