MantisBT - JANA
View Issue Details
0000288JANAFeature Requestpublic2012-09-25 07:502013-03-11 16:19
davidl 
 
normalminorN/A
closedwon't fix 
0000288: Implement std::lock_guard
The std:lock_guard is a c++11 feature that allows locking of a mutex that automatically gets unlocked when the local variable holding it goes out of scope. This would be great for things like exceptions or event just early returns. It should make the code more robust and cleaner.

It is not clear if it works directly with pthreads so that may need to be investigated.
No tags attached.
Issue History
2012-09-25 07:50davidlNew Issue
2013-03-11 16:19davidlNote Added: 0000466
2013-03-11 16:19davidlStatusnew => closed
2013-03-11 16:19davidlResolutionopen => won't fix

Notes
(0000466)
davidl   
2013-03-11 16:19   
We are not yet ready to commit to c++11 and it is not clear when in the future this will happen.