|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77667 - trunk/boost/thread
From: vicente.botet_at_[hidden]
Date: 2012-03-31 11:37:44
Author: viboes
Date: 2012-03-31 11:37:44 EDT (Sat, 31 Mar 2012)
New Revision: 77667
URL: http://svn.boost.org/trac/boost/changeset/77667
Log:
Thread: Add the possibility to use the more complete and generic implementation of shared_mutex in windows.
Text files modified:
trunk/boost/thread/shared_mutex.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/thread/shared_mutex.hpp
==============================================================================
--- trunk/boost/thread/shared_mutex.hpp (original)
+++ trunk/boost/thread/shared_mutex.hpp 2012-03-31 11:37:44 EDT (Sat, 31 Mar 2012)
@@ -11,7 +11,11 @@
#include <boost/thread/detail/platform.hpp>
#if defined(BOOST_THREAD_PLATFORM_WIN32)
+#if defined(BOOST_THREAD_SHARED_MUTEX_GENERIC)
+#include <boost/thread/pthread/shared_mutex.hpp>
+#else
#include <boost/thread/win32/shared_mutex.hpp>
+#endif
#elif defined(BOOST_THREAD_PLATFORM_PTHREAD)
#include <boost/thread/pthread/shared_mutex.hpp>
#else
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk