From 32ffce04fc3415ef10d2913fc90806077602e87d Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 21 Apr 2016 08:47:28 -0700 Subject: Use EIGEN_THREAD_YIELD instead of std::this_thread::yield to make the code more portable. --- unsupported/test/cxx11_eventcount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/test/cxx11_eventcount.cpp') 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--; } })); -- cgit v1.2.3