MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000288JANAFeature Requestpublic2012-09-25 07:502013-03-11 16:19
Reporterdavidl 
Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Summary0000288: Implement std::lock_guard
DescriptionThe 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000466)
davidl (administrator)
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.

- Issue History
Date Modified Username Field Change
2012-09-25 07:50 davidl New Issue
2013-03-11 16:19 davidl Note Added: 0000466
2013-03-11 16:19 davidl Status new => closed
2013-03-11 16:19 davidl Resolution open => won't fix


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker