1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #ifndef BOOST_ASIO_DETAIL_THREAD_CONTEXT_HPP
- #define BOOST_ASIO_DETAIL_THREAD_CONTEXT_HPP
- #if defined(_MSC_VER) && (_MSC_VER >= 1200)
- # pragma once
- #endif
- #include <climits>
- #include <cstddef>
- #include <boost/asio/detail/call_stack.hpp>
- #include <boost/asio/detail/push_options.hpp>
- namespace boost {
- namespace asio {
- namespace detail {
- class thread_info_base;
- class thread_context
- {
- public:
-
-
- BOOST_ASIO_DECL static thread_info_base* top_of_thread_call_stack();
- protected:
-
- typedef call_stack<thread_context, thread_info_base> thread_call_stack;
- };
- }
- }
- }
- #include <boost/asio/detail/pop_options.hpp>
- #if defined(BOOST_ASIO_HEADER_ONLY)
- # include <boost/asio/detail/impl/thread_context.ipp>
- #endif
- #endif
|