(0000319)
|
davidl
|
2012-03-26 14:29
|
|
This was committed in revision 928 and will appear in JANA 0.6.4. It was implemented by adding a map of rw locks to JApplication that can be added to by the user. The user can lock and unlock the rw_lock by name.
A special lock named "root" is added automatically with special methods for locking it. The RootReadLock, RootWriteLock, and RootUnLock methods are just more obvious what they are for and are slightly more efficient since one doesn't need to access the map nor lock the special rw_locks lock in order to access it. |
|