$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r62208 - sandbox/stm/boost/stm
From: justin_at_[hidden]
Date: 2010-05-25 13:22:06
Author: jgottschlich
Date: 2010-05-25 13:22:05 EDT (Tue, 25 May 2010)
New Revision: 62208
URL: http://svn.boost.org/trac/boost/changeset/62208
Log:
#if 0ed non-portable locker template code
Text files modified: 
   sandbox/stm/boost/stm/transaction.hpp |     4 ++++                                    
   1 files changed, 4 insertions(+), 0 deletions(-)
Modified: sandbox/stm/boost/stm/transaction.hpp
==============================================================================
--- sandbox/stm/boost/stm/transaction.hpp	(original)
+++ sandbox/stm/boost/stm/transaction.hpp	2010-05-25 13:22:05 EDT (Tue, 25 May 2010)
@@ -84,12 +84,14 @@
 
    typedef std::pair<base_transaction_object*, base_transaction_object*> tx_pair;
 
+#if 0 // these are not portable for Visual Studio 6
    template <typename MUTEX, MUTEX& mtx>
    struct locker {
        inline locker();
        inline ~locker();
        inline void unlock();
    };
+#endif
 
 
 ///////////////////////////////////////////////////////////////////////////////
@@ -1784,6 +1786,7 @@
     return transaction::current_transaction();
 }
 
+#if 0 // these are not portable for Visual Studio 6
 template <typename MUTEX, MUTEX& mtx>
 locker<MUTEX,mtx>::locker() {
     boost::stm::lock(mtx);
@@ -1795,6 +1798,7 @@
 void locker<MUTEX,mtx>::unlock() {
     boost::stm::unlock(mtx);
 }
+#endif
 
 
 //-----------------------------------------------------------------------------