|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62631 - trunk/boost/thread/pthread
From: anthony_at_[hidden]
Date: 2010-06-09 02:43:00
Author: anthonyw
Date: 2010-06-09 02:42:57 EDT (Wed, 09 Jun 2010)
New Revision: 62631
URL: http://svn.boost.org/trac/boost/changeset/62631
Log:
Added "inline" on system_time overload of timed_wait to fix issue #2747
Text files modified:
trunk/boost/thread/pthread/condition_variable_fwd.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 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 2010-06-09 02:42:57 EDT (Wed, 09 Jun 2010)
@@ -47,7 +47,8 @@
while(!pred()) wait(m);
}
- bool timed_wait(unique_lock<mutex>& m,boost::system_time const& wait_until);
+ inline bool timed_wait(unique_lock<mutex>& m,
+ boost::system_time const& wait_until);
bool timed_wait(unique_lock<mutex>& m,xtime const& wait_until)
{
return timed_wait(m,system_time(wait_until));
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