[SERVER-17310] Provide stdx polyfills for std:: implementation of boost concurrency types Created: 17/Feb/15 Updated: 25/Jan/17 Resolved: 28/May/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | C++11 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Participants: | |||||||||
| Description |
|
Now that we are on C++11 and have boost 1.56, we can, presumably make the choice of whether to use the std or boost components for concurrency (this may require that we polyfill the chrono components as well). |
| Comments |
| Comment by Githook User [ 19/May/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: Demonstrate usage in mongo/util/concurrency/ticketholder. {h,cpp}. |
| Comment by Githook User [ 19/May/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: Boost thread interruption has no direct analog in C++11, so must be removed. |
| Comment by Githook User [ 19/May/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: These behaviors do not have direct analogs in the C++11 thread support, so must be removed. |
| Comment by Githook User [ 19/May/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |
| Comment by Githook User [ 12/Mar/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |
| Comment by Githook User [ 05/Mar/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: Achieved via grep, sed and bash: Then, by converting boost::lock_guard to boost::unique_lock as appropriate. Finally, by removing unused mongo::mutex::try_lock. |
| Comment by Andy Schwerin [ 02/Mar/15 ] |
|
Proposed plan of attack:
|