lwm_nop.hpp 702 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef BOOST_SMART_PTR_DETAIL_LWM_NOP_HPP_INCLUDED
  2. #define BOOST_SMART_PTR_DETAIL_LWM_NOP_HPP_INCLUDED
  3. // MS compatible compilers support #pragma once
  4. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  5. # pragma once
  6. #endif
  7. //
  8. // boost/detail/lwm_nop.hpp
  9. //
  10. // Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
  11. //
  12. // Distributed under the Boost Software License, Version 1.0. (See
  13. // accompanying file LICENSE_1_0.txt or copy at
  14. // http://www.boost.org/LICENSE_1_0.txt)
  15. //
  16. namespace boost
  17. {
  18. namespace detail
  19. {
  20. class lightweight_mutex
  21. {
  22. public:
  23. typedef lightweight_mutex scoped_lock;
  24. };
  25. } // namespace detail
  26. } // namespace boost
  27. #endif // #ifndef BOOST_SMART_PTR_DETAIL_LWM_NOP_HPP_INCLUDED