Boost logo

Boost-Commit :

From: anthony_at_[hidden]
Date: 2008-09-02 06:38:18


Author: anthonyw
Date: 2008-09-02 06:38:17 EDT (Tue, 02 Sep 2008)
New Revision: 48531
URL: http://svn.boost.org/trac/boost/changeset/48531

Log:
Removed locked and get_active_count
Text files modified:
   trunk/boost/thread/win32/basic_timed_mutex.hpp | 10 ----------
   1 files changed, 0 insertions(+), 10 deletions(-)

Modified: trunk/boost/thread/win32/basic_timed_mutex.hpp
==============================================================================
--- trunk/boost/thread/win32/basic_timed_mutex.hpp (original)
+++ trunk/boost/thread/win32/basic_timed_mutex.hpp 2008-09-02 06:38:17 EDT (Tue, 02 Sep 2008)
@@ -123,11 +123,6 @@
                 return timed_lock(system_time(timeout));
             }
 
- long get_active_count()
- {
- return ::boost::detail::interlocked_read_acquire(&active_count);
- }
-
             void unlock()
             {
                 long const offset=lock_flag_value;
@@ -141,11 +136,6 @@
                 }
             }
 
- bool locked()
- {
- return get_active_count()>=lock_flag_value;
- }
-
         private:
             void* get_event()
             {


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