aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_eventcount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/test/cxx11_eventcount.cpp')
-rw-r--r--unsupported/test/cxx11_eventcount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_eventcount.cpp b/unsupported/test/cxx11_eventcount.cpp
index 2f250338c..f16cc6f07 100644
--- a/unsupported/test/cxx11_eventcount.cpp
+++ b/unsupported/test/cxx11_eventcount.cpp
@@ -95,7 +95,7 @@ static void test_stress_eventcount()
ec.Notify(false);
continue;
}
- std::this_thread::yield();
+ EIGEN_THREAD_YIELD();
j--;
}
}));