12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef BOOST_FLYWEIGHT_SIMPLE_LOCKING_HPP
- #define BOOST_FLYWEIGHT_SIMPLE_LOCKING_HPP
- #if defined(_MSC_VER)
- #pragma once
- #endif
- #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
- #include <boost/flyweight/detail/recursive_lw_mutex.hpp>
- #include <boost/flyweight/simple_locking_fwd.hpp>
- #include <boost/flyweight/locking_tag.hpp>
- namespace boost{
- namespace flyweights{
- struct simple_locking:locking_marker
- {
- typedef detail::recursive_lightweight_mutex mutex_type;
- typedef mutex_type::scoped_lock lock_type;
- };
- }
- }
- #endif
|