-
Notifications
You must be signed in to change notification settings - Fork 9
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
Need lock_guard for JGlobalRootLock #125
Comments
BTW how JGlobalRootLock relates to ROOT EnableThreadSafety() |
I think the primary use case of modifying TTree and TH* objects will still require our own lock according to the documentation you point to. Those objects are considered "conditionally" thread safe, but since we are typically filling them from multiple threads, they will need to be synchronized. |
C++ adds a read-write mutex/lock guard called |
And 4.8.5 is a requirement for Gluex/JLab? As EIC soft is on C++17 |
It would be great to have the equivalent to a lock_guard for the JGlobalRootLock service. Probably need two, a read and a write. Could we implement something that would support something like:
auto lck = m_lock->LockGuardWrite();
The text was updated successfully, but these errors were encountered: