summaryrefslogtreecommitdiff
path: root/src/mongo/transport
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2018-10-23 14:02:20 -0400
committerMathias Stearn <mathias@10gen.com>2018-11-02 15:47:45 -0400
commitbdfe090c66532ea921b4968a32632331c0c44310 (patch)
treed877f7cb9416ab69b804356afe00ff4c749f2e63 /src/mongo/transport
parent14ff5278871d47f967cdbd00a94d1721165202c6 (diff)
downloadmongo-bdfe090c66532ea921b4968a32632331c0c44310.tar.gz
SERVER-37717 Fix race between Baton::notify() and Waitable::wait()
Diffstat (limited to 'src/mongo/transport')
-rw-r--r--src/mongo/transport/baton_asio_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/transport/baton_asio_linux.h b/src/mongo/transport/baton_asio_linux.h
index 979e1461f35..f96e73b67a3 100644
--- a/src/mongo/transport/baton_asio_linux.h
+++ b/src/mongo/transport/baton_asio_linux.h
@@ -218,7 +218,7 @@ public:
}
void notify() noexcept override {
- schedule([] {});
+ _efd.notify();
}
/**