mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Use EIGEN_THREAD_YIELD instead of std::this_thread::yield to make the code more portable.
This commit is contained in:
@@ -95,7 +95,7 @@ static void test_stress_eventcount()
|
||||
ec.Notify(false);
|
||||
continue;
|
||||
}
|
||||
std::this_thread::yield();
|
||||
EIGEN_THREAD_YIELD();
|
||||
j--;
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user