View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0000288 | JANA | Feature Request | public | 2012-09-25 07:50 | 2013-03-11 16:19 |
|
Reporter | davidl | |
Assigned To | | |
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | won't fix | |
Platform | | OS | | OS Version | |
|
Summary | 0000288: Implement std::lock_guard |
Description | 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. |
Tags | No tags attached. |
|
Attached Files | |
|