diff options
Diffstat (limited to 'boost/fiber/numa/pin_thread.hpp')
-rw-r--r-- | boost/fiber/numa/pin_thread.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/fiber/numa/pin_thread.hpp b/boost/fiber/numa/pin_thread.hpp index c8d48395c6..710a9f93f2 100644 --- a/boost/fiber/numa/pin_thread.hpp +++ b/boost/fiber/numa/pin_thread.hpp @@ -8,6 +8,7 @@ #define BOOST_FIBERS_NUMA_PIN_THREAD_H #include <cstdint> +#include <thread> #include <boost/config.hpp> @@ -22,7 +23,10 @@ namespace fibers { namespace numa { BOOST_FIBERS_DECL -void pin_thread( std::uint32_t); +void pin_thread( std::uint32_t, std::thread::native_handle_type); + +BOOST_FIBERS_DECL +void pin_thread( std::uint32_t cpuid); }}} |