Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69817 - trunk/boost/config/platform
From: john_at_[hidden]
Date: 2011-03-10 06:09:56


Author: johnmaddock
Date: 2011-03-10 06:09:55 EST (Thu, 10 Mar 2011)
New Revision: 69817
URL: http://svn.boost.org/trac/boost/changeset/69817

Log:
MPTasks support has been absent from Boost for some time, remove it from here.
Text files modified:
   trunk/boost/config/platform/macos.hpp | 9 +++++----
   1 files changed, 5 insertions(+), 4 deletions(-)

Modified: trunk/boost/config/platform/macos.hpp
==============================================================================
--- trunk/boost/config/platform/macos.hpp (original)
+++ trunk/boost/config/platform/macos.hpp 2011-03-10 06:09:55 EST (Thu, 10 Mar 2011)
@@ -64,16 +64,17 @@
 # if ( defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON ) || ( defined(TARGET_CARBON) && TARGET_CARBON )
 
 # if !defined(BOOST_HAS_PTHREADS)
-# define BOOST_HAS_MPTASKS
+// MPTasks support is deprecated/removed from Boost:
+//# define BOOST_HAS_MPTASKS
 # elif ( __dest_os == __mac_os_x )
 // We are doing a Carbon/Mach-O/MSL build which has pthreads, but only the
 // gettimeofday and no posix.
 # define BOOST_HAS_GETTIMEOFDAY
 # endif
 
-// The MP task implementation of Boost Threads aims to replace MP-unsafe
-// parts of the MSL, so we turn on threads unconditionally.
-# define BOOST_HAS_THREADS
+#ifdef BOOST_HAS_PTHREADS
+# define BOOST_HAS_THREADS
+#endif
 
 // The remote call manager depends on this.
 # define BOOST_BIND_ENABLE_PASCAL


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