-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Question: thread safety of read only accesses #651
Comments
The library uses STL containers internally; that is, |
Thanks! |
If you experience any issues, please let me know! I had no reports so far about multithreading applications. |
My experiences: I am using Everything works as expected, there are no issues. I don't use any mutexes or locks during the resume step. I have tested the code using Greetings, |
Hi,
Are
nlohmann::json
objects thread safe for read only operations? E.g. assuming that thejson
object is not modified anymore afterload_json()
, can I safely query thejson
object from multiple threads as in the example below?Thanks!
The text was updated successfully, but these errors were encountered: