Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:32

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 #if defined(BOOST_HAS_PRAGMA_ONCE)
0019 #  pragma once
0020 #endif
0021 
0022 #include <boost/interprocess/detail/config_begin.hpp>
0023 #include <boost/interprocess/detail/workaround.hpp>
0024 #include <boost/interprocess/sync/windows/mutex.hpp>
0025 
0026 namespace boost {
0027 namespace interprocess {
0028 namespace ipcdetail {
0029 
0030 //Windows mutex is already recursive
0031 class winapi_recursive_mutex
0032    : public winapi_mutex
0033 {
0034    winapi_recursive_mutex(const winapi_recursive_mutex &);
0035    winapi_recursive_mutex &operator=(const winapi_recursive_mutex &);
0036    public:
0037    winapi_recursive_mutex() : winapi_mutex() {}
0038 };
0039 
0040 }  //namespace ipcdetail {
0041 }  //namespace interprocess {
0042 }  //namespace boost {
0043 
0044 
0045 #include <boost/interprocess/detail/config_end.hpp>
0046 
0047 #endif   //BOOST_INTERPROCESS_DETAIL_WINDOWS_RECURSIVE_MUTEX_HPP