Eigen
5.0.1
Loading...
Searching...
No Matches
ThreadYield.h
1
// This file is part of Eigen, a lightweight C++ template library
2
// for linear algebra.
3
//
4
// Copyright (C) 2016 Benoit Steiner <benoit.steiner.goog@gmail.com>
5
//
6
// This Source Code Form is subject to the terms of the Mozilla
7
// Public License v. 2.0. If a copy of the MPL was not distributed
8
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
// SPDX-License-Identifier: MPL-2.0
10
11
#ifndef EIGEN_THREADPOOL_THREAD_YIELD_H
12
#define EIGEN_THREADPOOL_THREAD_YIELD_H
13
14
// Try to come up with a portable way to yield
15
#define EIGEN_THREAD_YIELD() std::this_thread::yield()
16
17
#endif
// EIGEN_THREADPOOL_THREAD_YIELD_H
Eigen
src
ThreadPool
ThreadYield.h
Generated by
1.13.2