1 #ifndef BOOST_RECURSIVE_MUTEX_WIN32_HPP
2 #define BOOST_RECURSIVE_MUTEX_WIN32_HPP
6 // (C) Copyright 2006-7 Anthony Williams
8 // Distributed under the Boost Software License, Version 1.0. (See
9 // accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt)
13 #include <boost/utility.hpp>
14 #include <boost/thread/win32/basic_recursive_mutex.hpp>
15 #include <boost/thread/exceptions.hpp>
16 #include <boost/thread/locks.hpp>
18 #include <boost/config/abi_prefix.hpp>
22 class recursive_mutex:
23 public ::boost::detail::basic_recursive_mutex
26 recursive_mutex(recursive_mutex const&);
27 recursive_mutex& operator=(recursive_mutex const&);
31 ::boost::detail::basic_recursive_mutex::initialize();
35 ::boost::detail::basic_recursive_mutex::destroy();
38 typedef unique_lock<recursive_mutex> scoped_lock;
39 typedef detail::try_lock_wrapper<recursive_mutex> scoped_try_lock;
42 typedef recursive_mutex recursive_try_mutex;
44 class recursive_timed_mutex:
45 public ::boost::detail::basic_recursive_timed_mutex
48 recursive_timed_mutex(recursive_timed_mutex const&);
49 recursive_timed_mutex& operator=(recursive_timed_mutex const&);
51 recursive_timed_mutex()
53 ::boost::detail::basic_recursive_timed_mutex::initialize();
55 ~recursive_timed_mutex()
57 ::boost::detail::basic_recursive_timed_mutex::destroy();
60 typedef unique_lock<recursive_timed_mutex> scoped_timed_lock;
61 typedef detail::try_lock_wrapper<recursive_timed_mutex> scoped_try_lock;
62 typedef scoped_timed_lock scoped_lock;
66 #include <boost/config/abi_suffix.hpp>