File indexing completed on 2025-01-30 09:35:35
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_FIBERS_NUMA_PIN_THREAD_H
0008 #define BOOST_FIBERS_NUMA_PIN_THREAD_H
0009
0010 #include <cstdint>
0011 #include <thread>
0012
0013 #include <boost/config.hpp>
0014
0015 #include <boost/fiber/detail/config.hpp>
0016
0017 #ifdef BOOST_HAS_ABI_HEADERS
0018 # include BOOST_ABI_PREFIX
0019 #endif
0020
0021 namespace boost {
0022 namespace fibers {
0023 namespace numa {
0024
0025 BOOST_FIBERS_DECL
0026 void pin_thread( std::uint32_t, std::thread::native_handle_type);
0027
0028 BOOST_FIBERS_DECL
0029 void pin_thread( std::uint32_t cpuid);
0030
0031 }}}
0032
0033 #ifdef BOOST_HAS_ABI_HEADERS
0034 # include BOOST_ABI_SUFFIX
0035 #endif
0036
0037 #endif