Boost logo

Boost-Commit :

From: anthony_at_[hidden]
Date: 2007-11-02 14:19:50


Author: anthonyw
Date: 2007-11-02 14:19:49 EDT (Fri, 02 Nov 2007)
New Revision: 40692
URL: http://svn.boost.org/trac/boost/changeset/40692

Log:
Fixed typo with interruption change
Text files modified:
   trunk/boost/thread/pthread/condition_variable_fwd.hpp | 1 -
   trunk/boost/thread/pthread/thread_data.hpp | 6 +++---
   2 files changed, 3 insertions(+), 4 deletions(-)

Modified: trunk/boost/thread/pthread/condition_variable_fwd.hpp
==============================================================================
--- trunk/boost/thread/pthread/condition_variable_fwd.hpp (original)
+++ trunk/boost/thread/pthread/condition_variable_fwd.hpp 2007-11-02 14:19:49 EDT (Fri, 02 Nov 2007)
@@ -19,7 +19,6 @@
         condition_variable(condition_variable&);
         condition_variable& operator=(condition_variable&);
 
- struct interruption_checker;
     public:
         condition_variable();
         ~condition_variable();

Modified: trunk/boost/thread/pthread/thread_data.hpp
==============================================================================
--- trunk/boost/thread/pthread/thread_data.hpp (original)
+++ trunk/boost/thread/pthread/thread_data.hpp 2007-11-02 14:19:49 EDT (Fri, 02 Nov 2007)
@@ -52,7 +52,7 @@
 
         BOOST_THREAD_DECL thread_data_base* get_current_thread_data();
 
- class interrupt_wrapper
+ class interruption_checker
         {
             thread_data_base* const thread_info;
 
@@ -66,7 +66,7 @@
             }
             
         public:
- explicit interrupt_wrapper(pthread_cond_t* cond):
+ explicit interruption_checker(pthread_cond_t* cond):
                 thread_info(detail::get_current_thread_data())
             {
                 if(thread_info && thread_info->interrupt_enabled)
@@ -76,7 +76,7 @@
                     thread_info->current_cond=cond;
                 }
             }
- ~interrupt_wrapper()
+ ~interruption_checker()
             {
                 if(thread_info && thread_info->interrupt_enabled)
                 {


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