$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
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;
}