We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91b9815 + 0cd99a8 commit f7259dfCopy full SHA for f7259df
ChangeLog
@@ -1,3 +1,8 @@
1
+2024-02-12 Tomas Kalibera <tomas.kalibera@gmail.com>
2
+
3
+ * inst/include/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h:
4
+ Support clang on Windows by including 'sched.h' header
5
6
2023-11-01 Dirk Eddelbuettel <edd@debian.org>
7
8
* DESCRIPTION (Version, Date): CRAN Release 0.3.3.9.4
inst/include/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h
@@ -12,6 +12,7 @@
12
13
// Try to come up with a portable way to yield
14
#if EIGEN_COMP_GNUC && EIGEN_GNUC_AT_MOST(4, 7)
15
+#include <sched.h>
16
#define EIGEN_THREAD_YIELD() sched_yield()
17
#else
18
#define EIGEN_THREAD_YIELD() std::this_thread::yield()
0 commit comments