Use EIGEN_THREAD_YIELD instead of std::this_thread::yield to make the code more portable.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/.