Skip to content

Add missing volatile modifier#273

Open
Glavo wants to merge 14 commits intofusesource:masterfrom
Glavo:atomic
Open

Add missing volatile modifier#273
Glavo wants to merge 14 commits intofusesource:masterfrom
Glavo:atomic

Conversation

@Glavo
Copy link
Contributor

@Glavo Glavo commented Oct 6, 2023

Some static fields may be read and written by multiple threads, but they are not volatile, so there are potential thread safety issues. This PR fixes this issue.

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