1 //////////////////////////////////////////////////////////////////////////////
3 // (C) Copyright Ion Gaztanaga 2005-2012. Distributed under the Boost
4 // Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 // See http://www.boost.org/libs/interprocess for documentation.
9 //////////////////////////////////////////////////////////////////////////////
11 #ifndef BOOST_INTERPROCESS_DETAIL_WINDOWS_RECURSIVE_MUTEX_HPP
12 #define BOOST_INTERPROCESS_DETAIL_WINDOWS_RECURSIVE_MUTEX_HPP
14 #ifndef BOOST_CONFIG_HPP
15 # include <boost/config.hpp>
18 #if defined(BOOST_HAS_PRAGMA_ONCE)
22 #include <boost/interprocess/detail/config_begin.hpp>
23 #include <boost/interprocess/detail/workaround.hpp>
24 #include <boost/interprocess/sync/windows/mutex.hpp>
27 namespace interprocess {
30 //Windows mutex is already recursive
31 class windows_recursive_mutex
32 : public windows_mutex
34 windows_recursive_mutex(const windows_recursive_mutex &);
35 windows_recursive_mutex &operator=(const windows_recursive_mutex &);
37 windows_recursive_mutex() : windows_mutex() {}
40 } //namespace ipcdetail {
41 } //namespace interprocess {
45 #include <boost/interprocess/detail/config_end.hpp>
47 #endif //BOOST_INTERPROCESS_DETAIL_WINDOWS_RECURSIVE_MUTEX_HPP