]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fiber/src/numa/pin_thread.cpp
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 #include "boost/fiber/numa/pin_thread.hpp"
9 #include <system_error>
11 #include "boost/fiber/exceptions.hpp"
13 #ifdef BOOST_HAS_ABI_HEADERS
14 # include BOOST_ABI_PREFIX
21 #if BOOST_COMP_CLANG || \
25 # pragma message "pin_thread() not supported"
29 void pin_thread( std::uint32_t) {
31 std::make_error_code( std::errc::function_not_supported
),
32 "boost fiber: pin_thread() not supported" };
37 #ifdef BOOST_HAS_ABI_HEADERS
38 # include BOOST_ABI_SUFFIX