diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-29 19:35:16 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-29 19:35:16 +0000 |
commit | 951d8e9b23e68bd1eb917516f457ddfafdb3686c (patch) | |
tree | 224b951657eda867af340fd79fc2ea34ed94ec78 /ace/Synch.cpp | |
parent | 13dae46d13c6f9f395237cf5d6757ad0d73c27fc (diff) | |
download | ATCD-951d8e9b23e68bd1eb917516f457ddfafdb3686c.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Synch.cpp')
-rw-r--r-- | ace/Synch.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ace/Synch.cpp b/ace/Synch.cpp index 288ad2f434e..e8d8d06728a 100644 --- a/ace/Synch.cpp +++ b/ace/Synch.cpp @@ -700,12 +700,9 @@ ACE_Condition_Thread_Mutex::wait (ACE_Thread_Mutex &mutex, const ACE_Time_Value *abstime) { // ACE_TRACE ("ACE_Condition<MUTEX>::wait"); - if (abstime == 0) - return ACE_OS::cond_wait (&this->cond_, &mutex_.lock_); - else - return ACE_OS::cond_timedwait (&this->cond_, - &mutex.lock_, - (ACE_Time_Value *) abstime); + return ACE_OS::cond_timedwait (&this->cond_, + &mutex.lock_, + (ACE_Time_Value *) abstime); } int |