Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-30 08:26:19

0001 //////////////////////////////////////////////////////////////////////////////
0002 //
0003 // (C) Copyright Ion Gaztanaga 2005-2012. Distributed under the Boost
0004 // Software License, Version 1.0. (See accompanying file
0005 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // See http://www.boost.org/libs/interprocess for documentation.
0008 //
0009 //////////////////////////////////////////////////////////////////////////////
0010 
0011 #ifndef BOOST_INTERPROCESS_DETAIL_WINDOWS_RECURSIVE_MUTEX_HPP
0012 #define BOOST_INTERPROCESS_DETAIL_WINDOWS_RECURSIVE_MUTEX_HPP
0013 
0014 #ifndef BOOST_CONFIG_HPP
0015 #  include <boost/config.hpp>
0016 #endif
0017 0018 ">#
0019 #if defined(BOOST_HAS_PRAGMA_ONCE)
0020 #  pragma once
0021 #endif
0022 
0023 #include <boost/interprocess/detail/config_begin.hpp>
0024 #include <boost/interprocess/detail/workaround.hpp>
0025 #include <boost/interprocess/sync/windows/mutex.hpp>
0026 
0027 namespace boost {
0028 namespace interprocess {
0029 namespace ipcdetail {
0030 
0031 //Windows mutex is already recursive
0032 class winapi_recursive_mutex
0033    : public winapi_mutex
0034 {
0035    winapi_recursive_mutex(const winapi_recursive_mutex &);
0036    winapi_recursive_mutex &operator=(const winapi_recursive_mutex &);
0037    public:
0038    winapi_recursive_mutex() : winapi_mutex() {}
0039 };
0040 
0041 }  //namespace ipcdetail {
0042 }  //namespace interprocess {
0043 }  //namespace boost {
0044 
0045 
0046 #include <boost/interprocess/detail/config_end.hpp>
0047 
0048 #endif   //BOOST_INTERPROCESS_DETAIL_WINDOWS_RECURSIVE_MUTEX_HPP