summaryrefslogtreecommitdiff
path: root/src/mongo/util/future_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-48898 replace util/concepts.h with real conceptsBilly Donahue2023-05-131-25/+26
|
* SERVER-72197 Run clang-format 12.0.1 on the codebaseclang-format 12.0.12023-02-111-84/+94
| | | | Signed-off-by: Ryan Egesdahl <ryan.egesdahl@mongodb.com>
* SERVER-29601 Add -Wshadow to compilation - part1Juan Gu2022-11-111-6/+9
|
* SERVER-66036 add correct Future validity semanticsMatt Diener2022-09-061-18/+79
|
* SERVER-66128 Add Policy to Future Func-using APIMatt Diener2022-05-261-29/+81
|
* SERVER-62560 implement valid() on Future typesMatt Diener2022-05-121-0/+18
|
* SERVER-53661 SessionCatalog mutex is level 0 and is held while acquiring the ↵Luis Osta2021-05-141-3/+3
| | | | FutureResolution mutex
* SERVER-52939 Expand Promise::setFrom()Ben Caimano2020-11-231-9/+17
| | | | | Promise<void> can now be set from a Status and Promise<T> now rejects being implicitly set from a Status or T.
* SERVER-45591 Fix is_really_copy_constructible and add more tests.Spencer T Brody2020-04-301-14/+12
|
* SERVER-45591 Allow Future<vector<move-only-type>> by adding ↵Spencer T Brody2020-04-231-2/+17
| | | | is_really_copy_constructible type trait.
* SERVER-44155 Validate a subset of latches of all levelsRahul Sundararaman2019-12-091-2/+4
|
* SERVER-42967 SERVER-42895 SERVER-44086 Expand DiagnosticInfo hooks in ↵Ben Caimano2019-10-211-1/+1
| | | | | | | | | | | Interruptible and Mutex This commit: - Adds Listener hooks for Interruptible - Expands Listener hooks for Mutex - Updates the DiagnosticInfo and its tests to use the new hooks - Removes stacktracing pieces from DiagnosticInfo and its tests - Removes mongo::ConditionVariable entirely in favor of Interruptible
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-6/+6
|
* SERVER-43010 remove DEV and MONGO_DEV macrosBilly Donahue2019-08-231-1/+1
|
* SERVER-40160 Remove `if_constexpr.h` header.ADAM David Alan Martin2019-07-271-25/+15
| | | | | | | This header circumvented bad formatting which `clang-format-3.8` imparted to `if constexpr`. Now `clang-format-7.0.1` imparts a reasonable format to `if constexpr` so this header is not needed anymore.
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-7/+4
|
* SERVER-42370 Fix SharedStateImpl::addChild()Jason Carey2019-07-241-9/+15
| | | | | | | | | | | | | | | | | | | | | | | There's an unfortunate race between addChild and transitionToFinished, where the caller of addChild can observe a kInit shared state, as can transitionToFinished, and then the caller of addChild can add a child that is never fulfilled by the caller of transitionToFinished. It looks like: addChild() | transitionToFinished() ============================================== loadState, see init | acquire mutex | loadState, see init | | transition to finished, observed init attempt to cas, fail | | return, doing nothing add to children | strand the child | The fix is to check to see if our compare_exchange failed, in which case we need to fulfill ourselves
* SERVER-42164 Allowed ErrorCode::is{Category} to take a StatusBen Caimano2019-07-231-1/+1
|
* SERVER-9763 Remove BSONObjBuilder append unsigned methodAlya Berciu2019-07-031-0/+1
|
* SERVER-41372 Constrain callback-taking methods on FuturesMathias Stearn2019-06-071-1/+40
| | | | This reverts commit d60d7d2985f8a75ed08a7836cb5e460415f2e26d.
* Revert "SERVER-41372 Constrain callback-taking methods on Futures"Gregory Wlodarek2019-06-061-37/+1
| | | | This reverts commit e5115d5bf9761ba1bbaf058830bea713ef1cf9fc.
* SERVER-41372 Constrain callback-taking methods on FuturesMathias Stearn2019-06-061-1/+37
|
* SERVER-40802 simplify Future overload resolutionMathias Stearn2019-05-011-300/+227
|
* SERVER-36359 Add SharedSemiFuture::thenRunOn(exec) and make SSFs chainableMathias Stearn2019-04-181-56/+144
|
* SERVER-36359 Introduce SemiFuture<T> and ExecutorFuture<T>Mathias Stearn2019-04-111-65/+95
|
* SERVER-40178 move Future implementation details to a separate headerMathias Stearn2019-03-211-0/+1228