|
Boost-Commit : |
From: anthony_at_[hidden]
Date: 2008-04-10 09:27:45
Author: anthonyw
Date: 2008-04-10 09:27:44 EDT (Thu, 10 Apr 2008)
New Revision: 44147
URL: http://svn.boost.org/trac/boost/changeset/44147
Log:
fix for trac ticket #1804
Text files modified:
trunk/boost/thread/pthread/mutex.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/thread/pthread/mutex.hpp
==============================================================================
--- trunk/boost/thread/pthread/mutex.hpp (original)
+++ trunk/boost/thread/pthread/mutex.hpp 2008-04-10 09:27:44 EDT (Thu, 10 Apr 2008)
@@ -136,7 +136,7 @@
{
struct timespec const timeout=detail::get_timespec(abs_time);
int const res=pthread_mutex_timedlock(&m,&timeout);
- BOOST_ASSERT(!res || res==EBUSY);
+ BOOST_ASSERT(!res || res==ETIMEDOUT);
return !res;
}
#else
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