summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_Thread.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_Thread.inl')
-rw-r--r--ACE/ace/OS_NS_Thread.inl7
1 files changed, 0 insertions, 7 deletions
diff --git a/ACE/ace/OS_NS_Thread.inl b/ACE/ace/OS_NS_Thread.inl
index 45520ab7e46..17335f782c5 100644
--- a/ACE/ace/OS_NS_Thread.inl
+++ b/ACE/ace/OS_NS_Thread.inl
@@ -2095,10 +2095,6 @@ ACE_OS::sema_wait (ACE_sema_t *s, ACE_Time_Value &tv)
if (expired)
error = ETIME;
-
-# if defined (ACE_LACKS_COND_TIMEDWAIT_RESET)
- tv = tv.now ();
-# endif /* ACE_LACKS_COND_TIMEDWAIT_RESET */
}
if (result != -2)
@@ -2173,9 +2169,6 @@ ACE_OS::sema_wait (ACE_sema_t *s, ACE_Time_Value &tv)
if (result == 0)
{
-# if defined (ACE_LACKS_COND_TIMEDWAIT_RESET)
- tv = tv.now ();
-# endif /* ACE_LACKS_COND_TIMEDWAIT_RESET */
--s->count_;
}