Boost logo

Boost-Commit :

From: anthony_at_[hidden]
Date: 2007-10-09 10:08:23


Author: anthonyw
Date: 2007-10-09 10:08:22 EDT (Tue, 09 Oct 2007)
New Revision: 39839
URL: http://svn.boost.org/trac/boost/changeset/39839

Log:
fixed typo in pthread_cond_timedwait and ETIMEDOUT
Text files modified:
   trunk/boost/thread/pthread/recursive_mutex.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/thread/pthread/recursive_mutex.hpp
==============================================================================
--- trunk/boost/thread/pthread/recursive_mutex.hpp (original)
+++ trunk/boost/thread/pthread/recursive_mutex.hpp 2007-10-09 10:08:22 EDT (Tue, 09 Oct 2007)
@@ -251,8 +251,8 @@
             }
             while(is_locked)
             {
- int const cond_res=pthread_cond_timewait(&cond,&m,&timeout);
- if(cond_res==ETIMEOUT)
+ int const cond_res=pthread_cond_timedwait(&cond,&m,&timeout);
+ if(cond_res==ETIMEDOUT)
                 {
                     return false;
                 }


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