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

Use atomic operations for some index variables #715

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

stweil
Copy link
Collaborator

@stweil stweil commented Sep 1, 2023

This makes the related functions thread safe, but calling them from different processes will still cause problems because all processes use the same filenames which are generated by using the index.

This makes the related functions thread safe, but calling them from
different processes will still cause problems because all processes
use the same filenames which are generated by using the index.

Signed-off-by: Stefan Weil <[email protected]>
@DanBloomberg DanBloomberg merged commit ed8f820 into DanBloomberg:master Sep 1, 2023
9 checks passed
@DanBloomberg
Copy link
Owner

Thanks!

@stweil stweil deleted the atomic branch September 1, 2023 09:00
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