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

Thread-safety improvements for debug() #3309

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

past-due
Copy link
Member

Use thread_local variables for buffers + deduplication.
Use a mutex to guard warning_list access.

Use thread_local variables for buffers + deduplication.
Use a mutex to guard warning_list access.
@past-due past-due merged commit e816b67 into Warzone2100:master Jul 17, 2023
37 checks passed
@past-due past-due deleted the 2023_07_debug_thread_safety_1 branch July 17, 2023 01:49
@past-due past-due added this to the 4.4.0-beta1 milestone Jul 18, 2023
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