summaryrefslogtreecommitdiff
path: root/src/mongo/executor/thread_pool_mock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue2022-05-061-1/+3
|
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-45869 automatically converted structured loggingGabriel Russell2020-02-131-5/+6
|
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-9/+9
|
* SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)Ben Caimano2019-04-051-60/+65
|
* Revert "SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)"Benety Goh2019-04-031-65/+60
| | | | This reverts commit 04ea1d46eb6c4c78e19409f120ae2e61f2a35204.
* SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)Ben Caimano2019-04-021-60/+65
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-29493 Make ThreadPoolTaskExecutor's destructor execute shutdown and join.Andy Schwerin2017-06-091-0/+2
|
* SERVER-28865 Replace ReplicationExecutor with ThreadPoolTaskExecutor in ↵Andy Schwerin2017-05-181-1/+1
| | | | ReplicationCoordinatorImpl.
* SERVER-24945 added support to ThreadPoolMock for post-initialization ↵Benety Goh2016-07-111-2/+3
| | | | function on worker thread.
* SERVER-19631 Reduce the logging level of mock thread pool executorKaloian Manassiev2015-07-281-4/+8
|
* SERVER-19001 Implementation of ThreadPoolTaskExecutor and basic tests.Andy Schwerin2015-07-161-0/+134
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.