]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/interprocess/include/boost/interprocess/sync/windows/recursive_mutex.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / interprocess / include / boost / interprocess / sync / windows / recursive_mutex.hpp
CommitLineData
7c673cae
FG
1//////////////////////////////////////////////////////////////////////////////
2//
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)
6//
7// See http://www.boost.org/libs/interprocess for documentation.
8//
9//////////////////////////////////////////////////////////////////////////////
10
11#ifndef BOOST_INTERPROCESS_DETAIL_WINDOWS_RECURSIVE_MUTEX_HPP
12#define BOOST_INTERPROCESS_DETAIL_WINDOWS_RECURSIVE_MUTEX_HPP
13
14#ifndef BOOST_CONFIG_HPP
15# include <boost/config.hpp>
16#endif
17#
18#if defined(BOOST_HAS_PRAGMA_ONCE)
19# pragma once
20#endif
21
22#include <boost/interprocess/detail/config_begin.hpp>
23#include <boost/interprocess/detail/workaround.hpp>
24#include <boost/interprocess/sync/windows/mutex.hpp>
25
26namespace boost {
27namespace interprocess {
28namespace ipcdetail {
29
30//Windows mutex is already recursive
31class windows_recursive_mutex
32 : public windows_mutex
33{
34 windows_recursive_mutex(const windows_recursive_mutex &);
35 windows_recursive_mutex &operator=(const windows_recursive_mutex &);
36 public:
37 windows_recursive_mutex() : windows_mutex() {}
38};
39
40} //namespace ipcdetail {
41} //namespace interprocess {
42} //namespace boost {
43
44
45#include <boost/interprocess/detail/config_end.hpp>
46
47#endif //BOOST_INTERPROCESS_DETAIL_WINDOWS_RECURSIVE_MUTEX_HPP