Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57023 - sandbox/stm/branches/vbe/boost/stm
From: vicente.botet_at_[hidden]
Date: 2009-10-20 16:27:29


Author: viboes
Date: 2009-10-20 16:27:29 EDT (Tue, 20 Oct 2009)
New Revision: 57023
URL: http://svn.boost.org/trac/boost/changeset/57023

Log:
TBoost.STM vbe: removing constraint in LATM mutexes.

Text files modified:
   sandbox/stm/branches/vbe/boost/stm/transaction.hpp | 9 ++++++---
   1 files changed, 6 insertions(+), 3 deletions(-)

Modified: sandbox/stm/branches/vbe/boost/stm/transaction.hpp
==============================================================================
--- sandbox/stm/branches/vbe/boost/stm/transaction.hpp (original)
+++ sandbox/stm/branches/vbe/boost/stm/transaction.hpp 2009-10-20 16:27:29 EDT (Tue, 20 Oct 2009)
@@ -101,6 +101,9 @@
    typedef std::multimap<clock_t, MemoryContainerList > DeletionBuffer;
 
    typedef std::set<Mutex*> MutexSet;
+ typedef void* latm_mutex;
+ //typedef Mutex* latm_mutex;
+ typedef std::set<latm_mutex> latm_mutex_set;
 
    typedef std::set<thread_id_t> ThreadIdSet;
 
@@ -186,10 +189,10 @@
         #endif
         #if PERFORMING_LATM
         #if USING_TRANSACTION_SPECIFIC_LATM
- MutexSet conflictingMutex_;
+ latm_mutex_set conflictingMutex_;
         #endif
- MutexSet obtainedLocks_;
- MutexSet currentlyLockedLocks_;
+ latm_mutex_set obtainedLocks_;
+ latm_mutex_set currentlyLockedLocks_;
         #endif
     };
 


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