diff options
Diffstat (limited to '3rdParty/Boost/src/boost/thread/recursive_mutex.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/thread/recursive_mutex.hpp | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/3rdParty/Boost/src/boost/thread/recursive_mutex.hpp b/3rdParty/Boost/src/boost/thread/recursive_mutex.hpp index d5f6116..e716a19 100644 --- a/3rdParty/Boost/src/boost/thread/recursive_mutex.hpp +++ b/3rdParty/Boost/src/boost/thread/recursive_mutex.hpp @@ -3,7 +3,7 @@ // recursive_mutex.hpp // -// (C) Copyright 2007 Anthony Williams +// (C) Copyright 2007 Anthony Williams // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at @@ -18,4 +18,47 @@ #error "Boost threads unavailable on this platform" #endif +#include <boost/thread/lockable_traits.hpp> + +namespace boost +{ + namespace sync + { + +#ifdef BOOST_THREAD_NO_AUTO_DETECT_MUTEX_TYPES + template<> + struct is_basic_lockable<recursive_mutex> + { + BOOST_STATIC_CONSTANT(bool, value = true); + }; + template<> + struct is_lockable<recursive_mutex> + { + BOOST_STATIC_CONSTANT(bool, value = true); + }; + template<> + struct is_basic_lockable<recursive_timed_mutex> + { + BOOST_STATIC_CONSTANT(bool, value = true); + }; + template<> + struct is_lockable<recursive_timed_mutex> + { + BOOST_STATIC_CONSTANT(bool, value = true); + }; +#endif + + template<> + struct is_recursive_mutex_sur_parolle<recursive_mutex> + { + BOOST_STATIC_CONSTANT(bool, value = true); + }; + template<> + struct is_recursive_mutex_sur_parolle<recursive_timed_mutex> + { + BOOST_STATIC_CONSTANT(bool, value = true); + }; + + } +} #endif |