summaryrefslogtreecommitdiff
path: root/src/mongo/executor/async_timer_mock.h
diff options
context:
space:
mode:
authorJason Carey <jcarey@argv.me>2015-10-28 14:41:07 -0400
committerJason Carey <jcarey@argv.me>2015-11-09 18:03:18 -0500
commitc836472353e736424c9bb87868508c9e633b892d (patch)
tree71b6bd4303e722ea244ac5e3b538ad65ab417f5c /src/mongo/executor/async_timer_mock.h
parente8187cc8f07ac5fccd384430f33457d8a57f0381 (diff)
downloadmongo-c836472353e736424c9bb87868508c9e633b892d.tar.gz
SERVER-20143 Strand NetworkInterfaceASIO
Add strands (and an option for multiple io workers) in NetworkInterfaceASIO. strands are an asio specific mechanism for ensuring thread safety.
Diffstat (limited to 'src/mongo/executor/async_timer_mock.h')
-rw-r--r--src/mongo/executor/async_timer_mock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/executor/async_timer_mock.h b/src/mongo/executor/async_timer_mock.h
index a20bf84a6ff..6c0e4c755f2 100644
--- a/src/mongo/executor/async_timer_mock.h
+++ b/src/mongo/executor/async_timer_mock.h
@@ -119,7 +119,7 @@ public:
/**
* Create and return a new AsyncTimerMock object.
*/
- std::unique_ptr<AsyncTimerInterface> make(asio::io_service* io_service,
+ std::unique_ptr<AsyncTimerInterface> make(asio::io_service::strand* strand,
Milliseconds expiration) override;
/**