File indexing completed on 2024-11-15 09:05:30
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_FLYWEIGHT_SIMPLE_LOCKING_HPP
0010 #define BOOST_FLYWEIGHT_SIMPLE_LOCKING_HPP
0011
0012 #if defined(_MSC_VER)
0013 #pragma once
0014 #endif
0015
0016 #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
0017 #include <boost/flyweight/detail/recursive_lw_mutex.hpp>
0018 #include <boost/flyweight/simple_locking_fwd.hpp>
0019 #include <boost/flyweight/locking_tag.hpp>
0020
0021
0022
0023 namespace boost{
0024
0025 namespace flyweights{
0026
0027 struct simple_locking:locking_marker
0028 {
0029 typedef detail::recursive_lightweight_mutex mutex_type;
0030 typedef mutex_type::scoped_lock lock_type;
0031 };
0032
0033 }
0034
0035 }
0036
0037 #endif