PageRenderTime 14ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/thread/shared_mutex.hpp

http://hadesmem.googlecode.com/
C++ Header | 21 lines | 11 code | 3 blank | 7 comment | 0 complexity | 5b6704385d6c56b76db9b2b9069c8fc1 MD5 | raw file
 1#ifndef BOOST_THREAD_SHARED_MUTEX_HPP
 2#define BOOST_THREAD_SHARED_MUTEX_HPP
 3
 4//  shared_mutex.hpp
 5//
 6//  (C) Copyright 2007 Anthony Williams 
 7//
 8//  Distributed under the Boost Software License, Version 1.0. (See
 9//  accompanying file LICENSE_1_0.txt or copy at
10//  http://www.boost.org/LICENSE_1_0.txt)
11
12#include <boost/thread/detail/platform.hpp>
13#if defined(BOOST_THREAD_PLATFORM_WIN32)
14#include <boost/thread/win32/shared_mutex.hpp>
15#elif defined(BOOST_THREAD_PLATFORM_PTHREAD)
16#include <boost/thread/pthread/shared_mutex.hpp>
17#else
18#error "Boost threads unavailable on this platform"
19#endif
20
21#endif