[SERVER-18723] Replace boost:: with stdx:: for concurrency types Created: 28/May/15  Updated: 05/Feb/16  Resolved: 18/Jun/15

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.1.5

Type: Task Priority: Major - P3
Reporter: Andy Schwerin Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platform 5 06/26/16
Participants:

 Description   

Switching over to the stdx polyfills lets us move forward with a switch from the boost implementations to the C++11 standard implementations.



 Comments   
Comment by Githook User [ 18/Jun/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-18723 boost -> stdx for condition_variable
Branch: master
https://github.com/mongodb/mongo/commit/9bb8d65d8d6c58fa325e81ad8f0d7d067a66f413

Comment by Githook User [ 18/Jun/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-18723 boost -> stdx for thread
Branch: master
https://github.com/mongodb/mongo/commit/149d8c8f83017db23b104da1f020d0a994fb79f9

Comment by Githook User [ 18/Jun/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-18723 undo boost->stdx change for perftests
Branch: master
https://github.com/mongodb/mongo/commit/dd759f777875702f9618ed9379c5379247cdb7d1

Comment by Githook User [ 18/Jun/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-18723 boost -> stdx for recursive_mutex
Branch: master
https://github.com/mongodb/mongo/commit/c9c29cb2c7c0a1f6e79ea724e2ba91b3b1548983

Comment by Adam Midvidy [ 17/Jun/15 ]

When we change stdx::thread to actually use std::thread, we need to change all catch sites of boost::thread_resource_error to std::system_error.

Comment by Githook User [ 17/Jun/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-18723 boost -> stdx for mutex, unique_lock, and lock_guard
Branch: master
https://github.com/mongodb/mongo/commit/449e0f2b47e32060433cb6f68d967ea53c8573d1

Comment by Andy Schwerin [ 08/Jun/15 ]

There may be a bug in boost::condition_variable::wait_for. david.storch has details on how this affected a patch of his. acm, might it be possible to schedule this fix for late June or early July 2015?

Generated at Thu Feb 08 03:48:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.