2 // Copyright Oliver Kowalke 2013.
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 #ifndef BOOST_FIBERS_DETAIL_DATA_H
8 #define BOOST_FIBERS_DETAIL_DATA_H
10 #include <boost/config.hpp>
12 #include <boost/fiber/detail/config.hpp>
13 #include <boost/fiber/detail/spinlock.hpp>
15 #ifdef BOOST_HAS_ABI_HEADERS
16 # include BOOST_ABI_PREFIX
27 spinlock_lock * lk{ nullptr };
28 context * ctx{ nullptr };
31 explicit data_t( context * from_) noexcept :
35 explicit data_t( spinlock_lock * lk_,
36 context * from_) noexcept :
41 explicit data_t( context * ctx_,
42 context * from_) noexcept :
50 #ifdef BOOST_HAS_ABI_HEADERS
51 # include BOOST_ABI_SUFFIX
54 #endif // BOOST_FIBERS_DETAIL_DATA_H