1 #ifndef BOOST_THREAD_WIN32_MUTEX_HPP
2 #define BOOST_THREAD_WIN32_MUTEX_HPP
3 // (C) Copyright 2005-7 Anthony Williams
4 // Distributed under the Boost Software License, Version 1.0. (See
5 // accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
8 #include "basic_timed_mutex.hpp"
9 #include <boost/utility.hpp>
10 #include <boost/thread/exceptions.hpp>
11 #include <boost/thread/locks.hpp>
13 #include <boost/config/abi_prefix.hpp>
19 typedef ::boost::detail::basic_timed_mutex underlying_mutex
;
24 public ::boost::detail::underlying_mutex
36 typedef unique_lock
<mutex
> scoped_lock
;
37 typedef detail::try_lock_wrapper
<mutex
> scoped_try_lock
;
40 typedef mutex try_mutex
;
44 public ::boost::detail::basic_timed_mutex
57 typedef unique_lock
<timed_mutex
> scoped_timed_lock
;
58 typedef detail::try_lock_wrapper
<timed_mutex
> scoped_try_lock
;
59 typedef scoped_timed_lock scoped_lock
;
63 #include <boost/config/abi_suffix.hpp>