Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:31

0001 
0002 //          Copyright Oliver Kowalke 2009.
0003 // Distributed under the Boost Software License, Version 1.0.
0004 //    (See accompanying file LICENSE_1_0.txt or copy at
0005 //          http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 #ifndef BOOST_COROUTINES_DETAIL_FLAGS_H
0008 #define BOOST_COROUTINES_DETAIL_FLAGS_H
0009 
0010 #include <boost/config.hpp>
0011 
0012 #ifdef BOOST_HAS_ABI_HEADERS
0013 #  include BOOST_ABI_PREFIX
0014 #endif
0015 
0016 namespace boost {
0017 namespace coroutines {
0018 namespace detail {
0019 
0020 enum flag_t
0021 {
0022     flag_started        = 1 << 1,
0023     flag_running        = 1 << 2,
0024     flag_complete       = 1 << 3,
0025     flag_unwind_stack   = 1 << 4,
0026     flag_force_unwind   = 1 << 5
0027 };
0028 
0029 struct unwind_t
0030 {
0031     enum flag_t
0032     { force_unwind = 1 };
0033 };
0034 
0035 struct synthesized_t
0036 {
0037     enum flag_t
0038     { syntesized = 1 };
0039 };
0040 
0041 }}}
0042 
0043 #ifdef BOOST_HAS_ABI_HEADERS
0044 #  include BOOST_ABI_SUFFIX
0045 #endif
0046 
0047 #endif // BOOST_COROUTINES_DETAIL_FLAGS_H