Go to the documentation of this file.00001 #ifndef BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED
00002 #define BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED
00003
00004
00005
00006 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
00007 # pragma once
00008 #endif
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #include <boost/config.hpp>
00030
00031 #if !defined(BOOST_HAS_THREADS)
00032 # include <boost/smart_ptr/detail/lwm_nop.hpp>
00033 #elif defined(BOOST_HAS_PTHREADS)
00034 # include <boost/smart_ptr/detail/lwm_pthreads.hpp>
00035 #elif defined(BOOST_HAS_WINTHREADS) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
00036 # include <boost/smart_ptr/detail/lwm_win32_cs.hpp>
00037 #else
00038
00039 # error Unrecognized threading platform
00040 #endif
00041
00042 #endif // #ifndef BOOST_SMART_PTR_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED