summaryrefslogtreecommitdiff
path: root/src/mongo/executor/thread_pool_mock.cpp
AgeCommit message (Collapse)Author
2023-09-23SERVER-81059 bulk-revert of include of boost iif.hppBilly Donahue
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2022-05-06SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue
2020-04-26SERVER-47735 change mongo source over to logv2Billy Donahue
- Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
2020-02-21SERVER-45567 removing util/log.h where I canGabriel Russell
o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
2020-02-13SERVER-45869 automatically converted structured loggingGabriel Russell
2019-09-17SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano
2019-04-05SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)Ben Caimano
2019-04-03Revert "SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)"Benety Goh
This reverts commit 04ea1d46eb6c4c78e19409f120ae2e61f2a35204.
2019-04-02SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)Ben Caimano
2019-02-13SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue
Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2017-06-09SERVER-29493 Make ThreadPoolTaskExecutor's destructor execute shutdown and join.Andy Schwerin
2017-05-18SERVER-28865 Replace ReplicationExecutor with ThreadPoolTaskExecutor in ↵Andy Schwerin
ReplicationCoordinatorImpl.
2016-07-11SERVER-24945 added support to ThreadPoolMock for post-initialization ↵Benety Goh
function on worker thread.
2015-07-28SERVER-19631 Reduce the logging level of mock thread pool executorKaloian Manassiev
2015-07-16SERVER-19001 Implementation of ThreadPoolTaskExecutor and basic tests.Andy Schwerin
In order to support deterministic unit testing, it was also necessary to introduce a mock implementation of ThreadPool, executor::ThreadPoolMock, that is tightly integrated with NetworkInterfaceMock to allow for deterministic unit testing of things that use TaskExecutors. To keep the ThreadPoolTaskExecutor from having to keep a dedicated thread for handling scheduleAt(Date_t, ...) processing, a new method, setAlarm, is introduced to NetworkInterface. setAlarm offers an extremely relaxed contract, to maximize the number of legal implementations.