diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:22:41 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:22:41 +0900 |
commit | 3c1df2168531ad5580076ae08d529054689aeedd (patch) | |
tree | 941aff6f86393eecacddfec252a8508c7e8351c9 /boost/coroutine/detail/pull_coroutine_object.hpp | |
parent | d6a306e745acfee00e81ccaf3324a2a03516db41 (diff) | |
download | boost-3c1df2168531ad5580076ae08d529054689aeedd.tar.gz boost-3c1df2168531ad5580076ae08d529054689aeedd.tar.bz2 boost-3c1df2168531ad5580076ae08d529054689aeedd.zip |
Imported Upstream version 1.70.0upstream/1.70.0
Diffstat (limited to 'boost/coroutine/detail/pull_coroutine_object.hpp')
-rw-r--r-- | boost/coroutine/detail/pull_coroutine_object.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/boost/coroutine/detail/pull_coroutine_object.hpp b/boost/coroutine/detail/pull_coroutine_object.hpp index 36918489de..c4bb2c45b7 100644 --- a/boost/coroutine/detail/pull_coroutine_object.hpp +++ b/boost/coroutine/detail/pull_coroutine_object.hpp @@ -9,6 +9,7 @@ #include <boost/assert.hpp> #include <boost/config.hpp> +#include <boost/context/detail/config.hpp> #include <boost/cstdint.hpp> #include <boost/exception_ptr.hpp> #include <boost/move/move.hpp> @@ -115,6 +116,10 @@ public: { fn_( push_coro); } catch ( forced_unwind const&) {} +#if defined( BOOST_CONTEXT_HAS_CXXABI_H ) + catch ( abi::__forced_unwind const&) + { throw; } +#endif catch (...) { base_t::except_ = current_exception(); } @@ -198,6 +203,10 @@ public: { fn_( push_coro); } catch ( forced_unwind const&) {} +#if defined( BOOST_CONTEXT_HAS_CXXABI_H ) + catch ( abi::__forced_unwind const&) + { throw; } +#endif catch (...) { base_t::except_ = current_exception(); } @@ -281,6 +290,10 @@ public: { fn_( push_coro); } catch ( forced_unwind const&) {} +#if defined( BOOST_CONTEXT_HAS_CXXABI_H ) + catch ( abi::__forced_unwind const&) + { throw; } +#endif catch (...) { base_t::except_ = current_exception(); } |