[CXX-167] Standardize on boost::mutex rather than custom wrappers in mutex.h Created: 31/Mar/14 Updated: 04/May/14 Resolved: 07/Apr/14 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | legacy-0.8.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
src/mongo/util/concurrency/mutex.h describes several mutex classes that are similar to boost::mutex, or implemented in terms of it. There is no clear advantage to these classes in the C++ driver codebase, and we could possibly standardize on boost::mutex here. Risk is that it creates a lot of point divergences from the server code, upside is that we drop one more set of platform dependent code and push that out to boost (or C++11 when we pick that up). |
| Comments |
| Comment by Githook User [ 09/Apr/14 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: Quote character was introduced in earler |
| Comment by Githook User [ 09/Apr/14 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: Quote character was introduced in earler |
| Comment by Andrew Morrow (Inactive) [ 07/Apr/14 ] |
|
Adding to legacy-0.8 as it was felt that this was an improvement. |
| Comment by Githook User [ 07/Apr/14 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 31/Mar/14 ] |