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

Per-thread vsiopener file registries and exit stacks #2987

Closed
sgillies opened this issue Dec 19, 2023 · 0 comments · Fixed by #2988
Closed

Per-thread vsiopener file registries and exit stacks #2987

sgillies opened this issue Dec 19, 2023 · 0 comments · Fixed by #2988
Assignees
Milestone

Comments

@sgillies
Copy link
Member

It was pointed out in #2898 that the vsiopener state isn't thread-safe. Using contextvars allows us thread local registry of open files and their exit stacks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant