summaryrefslogtreecommitdiff
path: root/src/mongo/util/fail_point_test.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-05-18 16:11:40 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-05-19 17:00:05 -0400
commit9ab64834372d7d4c651bd41496f98afb7f44fbf7 (patch)
tree9240ed23acdfb0d6b98e370a00d647ba1f6e5ae1 /src/mongo/util/fail_point_test.cpp
parent2bd10ab22e77234c04b0ac42fe5cbc7539423985 (diff)
downloadmongo-9ab64834372d7d4c651bd41496f98afb7f44fbf7.tar.gz
SERVER-17310 Provide stdx polyfill for std::this_thread. Stop using boost::this_thread.
Diffstat (limited to 'src/mongo/util/fail_point_test.cpp')
-rw-r--r--src/mongo/util/fail_point_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/util/fail_point_test.cpp b/src/mongo/util/fail_point_test.cpp
index 17be424f244..5dfc185c585 100644
--- a/src/mongo/util/fail_point_test.cpp
+++ b/src/mongo/util/fail_point_test.cpp
@@ -200,7 +200,7 @@ namespace mongo_test {
}
}
- boost::this_thread::interruption_point();
+ stdx::this_thread::interruption_point();
}
}
@@ -222,14 +222,14 @@ namespace mongo_test {
catch (const std::logic_error&) {
}
- boost::this_thread::interruption_point();
+ stdx::this_thread::interruption_point();
}
}
static void simpleTask(FailPoint* failPoint) {
while (true) {
static_cast<void>(MONGO_FAIL_POINT((*failPoint)));
- boost::this_thread::interruption_point();
+ stdx::this_thread::interruption_point();
}
}
@@ -242,7 +242,7 @@ namespace mongo_test {
failPoint->setMode(FailPoint::alwaysOn, 0, BSON("a" << 44));
}
- boost::this_thread::interruption_point();
+ stdx::this_thread::interruption_point();
}
}