|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62502 - trunk/boost/thread/pthread
From: anthony_at_[hidden]
Date: 2010-06-07 04:43:15
Author: anthonyw
Date: 2010-06-07 04:43:15 EDT (Mon, 07 Jun 2010)
New Revision: 62502
URL: http://svn.boost.org/trac/boost/changeset/62502
Log:
Fix for issue #4238: timed_lock_upgrade should not call timed_lock
Text files modified:
trunk/boost/thread/pthread/shared_mutex.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/thread/pthread/shared_mutex.hpp
==============================================================================
--- trunk/boost/thread/pthread/shared_mutex.hpp (original)
+++ trunk/boost/thread/pthread/shared_mutex.hpp 2010-06-07 04:43:15 EDT (Mon, 07 Jun 2010)
@@ -225,7 +225,7 @@
template<typename TimeDuration>
bool timed_lock_upgrade(TimeDuration const & relative_time)
{
- return timed_lock(get_system_time()+relative_time);
+ return timed_lock_upgrade(get_system_time()+relative_time);
}
bool try_lock_upgrade()
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