Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85680 - trunk/boost/sync/detail
From: andrey.semashev_at_[hidden]
Date: 2013-09-15 13:01:05


Author: andysem
Date: 2013-09-15 13:01:04 EDT (Sun, 15 Sep 2013)
New Revision: 85680
URL: http://svn.boost.org/trac/boost/changeset/85680

Log:
Moved semaphore implementation to details. Some minor fixes.

Text files modified:
   trunk/boost/sync/detail/config.hpp | 37 -------------------------------------
   1 files changed, 0 insertions(+), 37 deletions(-)

Modified: trunk/boost/sync/detail/config.hpp
==============================================================================
--- trunk/boost/sync/detail/config.hpp Sun Sep 15 12:58:33 2013 (r85679)
+++ trunk/boost/sync/detail/config.hpp 2013-09-15 13:01:04 EDT (Sun, 15 Sep 2013) (r85680)
@@ -40,41 +40,6 @@
 #define BOOST_SYNC_DETAIL_PLATFORM_PTHREAD
 #endif
 
-
-#ifdef BOOST_HAS_UNISTD_H
-#include <unistd.h>
-
-#if (_POSIX_SEMAPHORES - 0) >= 200112L
-#define BOOST_SYNC_POSIX_SEMAPHORES
-#endif
-
-#endif // BOOST_HAS_UNISTD_H
-
-#if defined(__APPLE__)
-#include <Availability.h>
-
-// OSX
-#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
-
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_6
-#define BOOST_SYNC_DISPATCH_SEMAPHORES
-#endif
-
-#endif // __MAC_OS_X_VERSION_MIN_REQUIRED
-
-// iOS
-#ifdef __IPHONE_OS_VERSION_MIN_REQUIRED
-
-// untested!
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0
-#define BOOST_SYNC_DISPATCH_SEMAPHORES
-#endif
-
-#endif // __IPHONE_OS_VERSION_MIN_REQUIRED
-
-#endif // __APPLE__
-
-
 #if ! defined BOOST_SYNC_DONT_USE_CHRONO \
   && ! defined BOOST_SYNC_USES_CHRONO
 #define BOOST_SYNC_USES_CHRONO
@@ -82,6 +47,4 @@
 
 #define BOOST_SYNC_USES_CHRONO
 
-
-
 #endif // BOOST_SYNC_DETAIL_CONFIG_HPP_INCLUDED_


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