summaryrefslogtreecommitdiff
path: root/ace/Future.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2002-01-05 15:04:18 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2002-01-05 15:04:18 +0000
commitab373435a7690a0bafef4ddf54fdb0fea728cfdb (patch)
treef2e72e514daaac0dfc91decdbff43840f301260e /ace/Future.cpp
parent4f9a3e4b96d14d71353ef33e467f86156a15c62a (diff)
downloadATCD-ab373435a7690a0bafef4ddf54fdb0fea728cfdb.tar.gz
ChangeLogTag:Sat Jan 5 08:59:41 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/Future.cpp')
-rw-r--r--ace/Future.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/Future.cpp b/ace/Future.cpp
index c633b91dd2b..4d4c807de4a 100644
--- a/ace/Future.cpp
+++ b/ace/Future.cpp
@@ -205,8 +205,9 @@ ACE_Future_Rep<T>::get (T &value,
// If the value is already produced, return it.
if (this->value_ == 0)
{
- ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->value_ready_mutex_, -1));
-
+ ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon,
+ ACE_const_cast (ACE_Thread_Mutex &, this->value_ready_mutex_),
+ -1));
// If the value is not yet defined we must block until the
// producer writes to it.