Boost logo

Boost-Commit :

From: john.groups_at_[hidden]
Date: 2007-11-05 05:20:27


Author: jtorjo
Date: 2007-11-05 05:20:27 EST (Mon, 05 Nov 2007)
New Revision: 40776
URL: http://svn.boost.org/trac/boost/changeset/40776

Log:
[logging]
removed some errors on tss_impl_pthread.hpp
Text files modified:
   sandbox/logging/boost/logging/detail/tss/tss_impl_pthread.hpp | 4 +---
   1 files changed, 1 insertions(+), 3 deletions(-)

Modified: sandbox/logging/boost/logging/detail/tss/tss_impl_pthread.hpp
==============================================================================
--- sandbox/logging/boost/logging/detail/tss/tss_impl_pthread.hpp (original)
+++ sandbox/logging/boost/logging/detail/tss/tss_impl_pthread.hpp 2007-11-05 05:20:27 EST (Mon, 05 Nov 2007)
@@ -67,7 +67,7 @@
     static mutex cs;
     static unsigned int idx = 0;
     
- scoped_lock lk(cs);
+ mutex::scoped_lock lk(cs);
 
     // note: if the Logging Lib is used with TLS, I'm guaranteed this will be called before main(),
     // and that this will work
@@ -80,8 +80,6 @@
 
 inline tss::~tss()
 {
- boost::mutex::scoped_lock lock(*tss_data_mutex);
- tss_data_dec_use(lock);
 }
 
 inline void* tss::get() const


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