summaryrefslogtreecommitdiff
path: root/tests/Semaphore_Test.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1998-09-25 15:14:08 +0000
committerSteve Huston <shuston@riverace.com>1998-09-25 15:14:08 +0000
commit547108484d85443a7e9a4aa2ee25412f8f4768bc (patch)
treefbc3c6479c7452af8d271afe01d0772a16b45e78 /tests/Semaphore_Test.cpp
parent364643756fb618662aafa3455dbcc6d7b50599fa (diff)
downloadATCD-547108484d85443a7e9a4aa2ee25412f8f4768bc.tar.gz
Removed special-case assertion for timeout on pthreads draft 4.
Diffstat (limited to 'tests/Semaphore_Test.cpp')
-rw-r--r--tests/Semaphore_Test.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/Semaphore_Test.cpp b/tests/Semaphore_Test.cpp
index a49d02996a2..363a20ba99e 100644
--- a/tests/Semaphore_Test.cpp
+++ b/tests/Semaphore_Test.cpp
@@ -116,12 +116,7 @@ test_timeout (void)
wait.sec (wait.sec () + wait_secs);
if (s.acquire (wait) == -1)
-#if defined (ACE_HAS_PTHREADS_DRAFT4)
- // LynxOS, at least.
- ACE_ASSERT (errno == EINTR);
-#else
ACE_ASSERT (errno == ETIME);
-#endif
ACE_Time_Value wait_diff = ACE_OS::gettimeofday () - begin;