|
||||
File indexing completed on 2025-01-18 09:51:42
0001 #ifndef BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED 0002 #define BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED 0003 0004 // MS compatible compilers support #pragma once 0005 0006 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 0007 # pragma once 0008 #endif 0009 0010 // 0011 // boost/detail/lightweight_mutex.hpp - lightweight mutex 0012 // 0013 // Copyright (c) 2002, 2003 Peter Dimov and Multi Media Ltd. 0014 // 0015 // Distributed under the Boost Software License, Version 1.0. (See 0016 // accompanying file LICENSE_1_0.txt or copy at 0017 // http://www.boost.org/LICENSE_1_0.txt) 0018 // 0019 // typedef <unspecified> boost::detail::lightweight_mutex; 0020 // 0021 // boost::detail::lightweight_mutex is a header-only implementation of 0022 // a subset of the Mutex concept requirements: 0023 // 0024 // http://www.boost.org/doc/html/threads/concepts.html#threads.concepts.Mutex 0025 // 0026 // It maps to a CRITICAL_SECTION on Windows or a pthread_mutex on POSIX. 0027 // 0028 0029 #include <boost/config.hpp> 0030 0031 #if !defined(BOOST_NO_CXX11_HDR_MUTEX ) 0032 # include <boost/smart_ptr/detail/lwm_std_mutex.hpp> 0033 #elif defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 0034 # include <boost/smart_ptr/detail/lwm_win32_cs.hpp> 0035 #else 0036 # include <boost/smart_ptr/detail/lwm_pthreads.hpp> 0037 #endif 0038 0039 #endif // #ifndef BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |