Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59770 - sandbox/stm/branches/vbe/boost/synchro/pthread
From: vicente.botet_at_[hidden]
Date: 2010-02-20 07:24:23


Author: viboes
Date: 2010-02-20 07:24:23 EST (Sat, 20 Feb 2010)
New Revision: 59770
URL: http://svn.boost.org/trac/boost/changeset/59770

Log:
Boost.STM/vbe:
* Remove traces
Text files modified:
   sandbox/stm/branches/vbe/boost/synchro/pthread/mutex.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: sandbox/stm/branches/vbe/boost/synchro/pthread/mutex.hpp
==============================================================================
--- sandbox/stm/branches/vbe/boost/synchro/pthread/mutex.hpp (original)
+++ sandbox/stm/branches/vbe/boost/synchro/pthread/mutex.hpp 2010-02-20 07:24:23 EST (Sat, 20 Feb 2010)
@@ -13,6 +13,7 @@
 
 #ifndef BOOST_SYNCHO_PTHREAD_MUTEX_HPP
 #define BOOST_SYNCHO_PTHREAD_MUTEX_HPP
+#include <iostream>
 
 //-----------------------------------------------------------------------------
 #include <pthread.h>
@@ -41,12 +42,14 @@
 
     template<>
     inline void lock<pthread_mutex_t>(pthread_mutex_t& lockable) {
+ //~ std::cout << __FILE__<< __LINE__ << " mutex::lock " << & lockable << std::endl;
         BOOST_STM_VERIFY(pthread_mutex_lock(&lockable)==0&&"synchro::lock<pthread_mutex_t>");
         //if (res!=0) throw lock_error();
     }
 
     template<>
     inline void unlock<pthread_mutex_t>(pthread_mutex_t& lockable) {
+ //~ std::cout << __FILE__<< __LINE__ << " mutex::unlock " << & lockable << std::endl;
         BOOST_STM_VERIFY(pthread_mutex_unlock(&lockable)==0&&"synchro::unlock<pthread_mutex_t>");
         //if (res!=0) throw lock_error();
     }


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