/usr/include/boost/fiber
NameSizeModeActions
algo/-0755rm
cuda/-0755rm
detail/-0755rm
future/-0755rm
hip/-0755rm
numa/-0755rm
all.hpp13810644editdlrm
barrier.hpp10220644editdlrm
buffered_channel.hpp255790644editdlrm
channel_op_status.hpp6780644editdlrm
condition_variable.hpp87120644editdlrm
context.hpp159270644editdlrm
exceptions.hpp33520644editdlrm
fiber.hpp45490644editdlrm
fixedsize_stack.hpp7820644editdlrm
fss.hpp25930644editdlrm
future.hpp3840644editdlrm
mutex.hpp13730644editdlrm
operations.hpp30340644editdlrm
policy.hpp8120644editdlrm
pooled_fixedsize_stack.hpp7210644editdlrm
properties.hpp20770644editdlrm
protected_fixedsize_stack.hpp7390644editdlrm
recursive_mutex.hpp16480644editdlrm
recursive_timed_mutex.hpp23800644editdlrm
scheduler.hpp55250644editdlrm
segmented_stack.hpp8170644editdlrm
timed_mutex.hpp21050644editdlrm
type.hpp23320644editdlrm
unbuffered_channel.hpp267860644editdlrm
Edit: /usr/include/boost/fiber/exceptions.hpp (3352B)
// // Copyright Oliver Kowalke 2013. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // based on boost.thread #ifndef BOOST_fiber_errorS_H #define BOOST_fiber_errorS_H #include #include #include #include #include #include #ifdef BOOST_HAS_ABI_HEADERS # include BOOST_ABI_PREFIX #endif namespace boost { namespace fibers { class fiber_error : public std::system_error { public: explicit fiber_error( std::error_code ec) : std::system_error{ ec } { } fiber_error( std::error_code ec, const char * what_arg) : std::system_error{ ec, what_arg } { } fiber_error( std::error_code ec, std::string const& what_arg) : std::system_error{ ec, what_arg } { } ~fiber_error() override = default; }; class lock_error : public fiber_error { public: explicit lock_error( std::error_code ec) : fiber_error{ ec } { } lock_error( std::error_code ec, const char * what_arg) : fiber_error{ ec, what_arg } { } lock_error( std::error_code ec, std::string const& what_arg) : fiber_error{ ec, what_arg } { } }; enum class future_errc { broken_promise = 1, future_already_retrieved, promise_already_satisfied, no_state }; BOOST_FIBERS_DECL std::error_category const& future_category() noexcept; }} namespace std { template<> struct is_error_code_enum< boost::fibers::future_errc > : public true_type { }; inline std::error_code make_error_code( boost::fibers::future_errc e) noexcept { return std::error_code{ static_cast< int >( e), boost::fibers::future_category() }; } inline std::error_condition make_error_condition( boost::fibers::future_errc e) noexcept { return std::error_condition{ static_cast< int >( e), boost::fibers::future_category() }; } } namespace boost { namespace fibers { class future_error : public fiber_error { public: explicit future_error( std::error_code ec) : fiber_error{ ec } { } }; class future_uninitialized : public future_error { public: future_uninitialized() : future_error{ std::make_error_code( future_errc::no_state) } { } }; class future_already_retrieved : public future_error { public: future_already_retrieved() : future_error{ std::make_error_code( future_errc::future_already_retrieved) } { } }; class broken_promise : public future_error { public: broken_promise() : future_error{ std::make_error_code( future_errc::broken_promise) } { } }; class promise_already_satisfied : public future_error { public: promise_already_satisfied() : future_error{ std::make_error_code( future_errc::promise_already_satisfied) } { } }; class promise_uninitialized : public future_error { public: promise_uninitialized() : future_error{ std::make_error_code( future_errc::no_state) } { } }; class packaged_task_uninitialized : public future_error { public: packaged_task_uninitialized() : future_error{ std::make_error_code( future_errc::no_state) } { } }; }} #ifdef BOOST_HAS_ABI_HEADERS # include BOOST_ABI_SUFFIX #endif #endif // BOOST_fiber_errorS_H