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

ev: move drive discharging from event handlers to mobsim #2935

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

michalmac
Copy link
Member

This commit moves updating of the battery charge (SOC) to the main thread (i.e. outside the event handling threads) to avoid race conditions (and also to have events deterministically ordered).

This commit moves updating the battery charge (SOC) to the main thread (outside the event handling threads) to avoid race conditions (and also to have events deterministically ordered).
@michalmac michalmac enabled auto-merge November 15, 2023 22:37
@michalmac michalmac merged commit 05e5f2f into master Nov 15, 2023
48 checks passed
@michalmac michalmac deleted the move-drive-discharging-to-mobsim branch November 15, 2023 22:46
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.

1 participant