lightweight_thread.hpp 811 B

1234567891011121314151617181920212223242526
  1. #ifndef BOOST_DETAIL_LIGHTWEIGHT_THREAD_HPP_INCLUDED
  2. #define BOOST_DETAIL_LIGHTWEIGHT_THREAD_HPP_INCLUDED
  3. // MS compatible compilers support #pragma once
  4. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  5. # pragma once
  6. #endif
  7. // boost/detail/lightweight_thread.hpp
  8. //
  9. // Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
  10. // Copyright (c) 2008, 2018 Peter Dimov
  11. //
  12. // Distributed under the Boost Software License, Version 1.0.
  13. // See accompanying file LICENSE_1_0.txt or copy at
  14. // http://www.boost.org/LICENSE_1_0.txt
  15. //
  16. //
  17. // typedef /*...*/ lw_thread_t; // as pthread_t
  18. // template<class F> int lw_thread_create( lw_thread_t & th, F f );
  19. // void lw_thread_join( lw_thread_t th );
  20. #include <boost/smart_ptr/detail/lightweight_thread.hpp>
  21. #endif // #ifndef BOOST_DETAIL_LIGHTWEIGHT_THREAD_HPP_INCLUDED