summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_Thread.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2023-02-02 09:13:03 +0100
committerGitHub <noreply@github.com>2023-02-02 09:13:03 +0100
commit7e8b94b728b886d14fc17b6af789e9ba0c50a050 (patch)
tree1636528cca273971427d690aafe0a79f93b2d3f7 /ACE/ace/OS_NS_Thread.inl
parent4961b8026b5c90e2517f27f9d9d5584be6f94ab0 (diff)
parentec19b2725b53eba54c4ba434d371ae569832f762 (diff)
downloadATCD-7e8b94b728b886d14fc17b6af789e9ba0c50a050.tar.gz
Merge pull request #2042 from jwillemsen/jwi-cleanupmacros
Cleanup unused macros
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_;
}