[SERVER-35234] makePromiseFuture<T>() to create a bound Promise and Future Created: 25/May/18  Updated: 29/Oct/23  Resolved: 25/May/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.0.2, 4.1.1

Type: New Feature Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-35027 Add makePromiseFuturePair() helper to... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Platforms 2018-06-04
Participants:
Linked BF Score: 0

 Description   

This will help avoid a very common and hard to remember race.



 Comments   
Comment by Githook User [ 17/Aug/18 ]

Author:

{'name': 'Mathias Stearn', 'email': 'mathias@10gen.com', 'username': 'RedBeard0531'}

Message: SERVER-35234 makePromiseFuture<T>()

(cherry picked from commit f0e5229b631668c9bde511e607bf52fd871e582d)
Branch: v4.0
https://github.com/mongodb/mongo/commit/869931050527d8d0b6955490bb972021151c00b1

Comment by Githook User [ 25/May/18 ]

Author:

{'username': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: SERVER-35234 makePromiseFuture<T>()
Branch: master
https://github.com/mongodb/mongo/commit/f0e5229b631668c9bde511e607bf52fd871e582d

Generated at Thu Feb 08 04:39:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.