2 // Copyright Oliver Kowalke 2017.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_FIBERS_NUMA_PIN_THREAD_H
8 #define BOOST_FIBERS_NUMA_PIN_THREAD_H
13 #include <boost/config.hpp>
15 #include <boost/fiber/detail/config.hpp>
17 #ifdef BOOST_HAS_ABI_HEADERS
18 # include BOOST_ABI_PREFIX
26 void pin_thread( std::uint32_t, std::thread::native_handle_type);
29 void pin_thread( std::uint32_t cpuid);
33 #ifdef BOOST_HAS_ABI_HEADERS
34 # include BOOST_ABI_SUFFIX
37 #endif // BOOST_FIBERS_NUMA_PIN_THREAD_H