summaryrefslogtreecommitdiff
path: root/src/mongo/executor/network_interface_thread_pool.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-21436 NetworkInterfaceThreadPool for shardingJason Carey2015-11-171-0/+79
Adding a new kind of thread pool that dispatches jobs onto a provided NetworkInterface rather than using their own thread pool. We're also switching the ThreadPoolTaskExecutor to use this instead of the regular thread pool for sharding. That, in turn, removes context switches by allowing inline execution of scheduled tasks if they're invoked from a nia io_worker. In pursuit of this, factored the connection pool tests out into a common set that the NetworkInterfaceThreadPool can use.