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

Is vault thread-safe? #20

Closed
andrewthad opened this issue Aug 14, 2015 · 2 comments
Closed

Is vault thread-safe? #20

andrewthad opened this issue Aug 14, 2015 · 2 comments

Comments

@andrewthad
Copy link

I don't see this addressed anywhere in the docs, and I assume that it isn't thread-safe, but I just wanted to check.

@HeinrichApfelmus
Copy link
Owner

If you're using GHC, the library is thread-safe, because it uses only pure data structures (and unsafecoerce…). If you're using another compiler, then probably not.

@andrewthad
Copy link
Author

Thanks! I had forgotten that it didn't run in IO. Too much STM lately.

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

No branches or pull requests

2 participants