smart_ptr/detail/lightweight_mutex.hpp
Go to the documentation of this file.
1 #ifndef BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED
2 #define BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED
3 
4 // MS compatible compilers support #pragma once
5 
6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
7 # pragma once
8 #endif
9 
10 //
11 // boost/detail/lightweight_mutex.hpp - lightweight mutex
12 //
13 // Copyright (c) 2002, 2003 Peter Dimov and Multi Media Ltd.
14 //
15 // Distributed under the Boost Software License, Version 1.0. (See
16 // accompanying file LICENSE_1_0.txt or copy at
17 // http://www.boost.org/LICENSE_1_0.txt)
18 //
19 // typedef <unspecified> boost::detail::lightweight_mutex;
20 //
21 // boost::detail::lightweight_mutex is a header-only implementation of
22 // a subset of the Mutex concept requirements:
23 //
24 // http://www.boost.org/doc/html/threads/concepts.html#threads.concepts.Mutex
25 //
26 // It maps to a CRITICAL_SECTION on Windows or a pthread_mutex on POSIX.
27 //
28 
29 #include <boost/config.hpp>
30 
31 #if !defined(BOOST_HAS_THREADS)
33 #elif defined(BOOST_HAS_PTHREADS)
35 #elif defined(BOOST_HAS_WINTHREADS) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
37 #else
38 // Use #define BOOST_DISABLE_THREADS to avoid the error
39 # error Unrecognized threading platform
40 #endif
41 
42 #endif // #ifndef BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED
lwm_nop.hpp
config.hpp
lwm_pthreads.hpp
lwm_win32_cs.hpp


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:42:04