////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Vicente J. Botet Escriba 2008. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/sync for documentation. // ////////////////////////////////////////////////////////////////////////////// #ifndef __BOOST_SYNC_THREAD_MUTEX__HPP #define __BOOST_SYNC_THREAD_MUTEX__HPP #include #include #include #include namespace boost { namespace sync { typedef boost::mutex thread_mutex; template<> struct timed_interface_tag { typedef hasnt_timed_interface_tag type; }; template<> struct reentrancy_tag { typedef non_recursive_tag type; }; template<> struct category_tag { typedef exclusive_lock_tag type; }; template<> struct scope_tag { typedef multi_threaded_tag type; }; template <> struct best_condition { typedef boost::condition_variable type; }; typedef boost::timed_mutex thread_timed_mutex; template<> struct timed_interface_tag { typedef has_timed_interface_tag type; }; template<> struct reentrancy_tag { typedef non_recursive_tag type; }; template<> struct category_tag { typedef exclusive_lock_tag type; }; template<> struct scope_tag { typedef multi_threaded_tag type; }; } } #endif