summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorsergio <sergio@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-24 06:27:22 +0000
committersergio <sergio@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-24 06:27:22 +0000
commit0ad98b34fa9de6a67f76046fd3f3827803c5f089 (patch)
tree3931b298b1e994075e012677cfb6693525317fe5 /examples
parent5749cff40bcaed9e69b41a7555ef1c2d84e1beff (diff)
downloadATCD-0ad98b34fa9de6a67f76046fd3f3827803c5f089.tar.gz
*** empty log message ***
Diffstat (limited to 'examples')
-rw-r--r--examples/Timer_Queue/Thread_Timer_Queue_Test.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/examples/Timer_Queue/Thread_Timer_Queue_Test.cpp b/examples/Timer_Queue/Thread_Timer_Queue_Test.cpp
index 3f4c3128daa..b80ba891c17 100644
--- a/examples/Timer_Queue/Thread_Timer_Queue_Test.cpp
+++ b/examples/Timer_Queue/Thread_Timer_Queue_Test.cpp
@@ -143,19 +143,9 @@ Input_Task::list_timer (void *argument)
// Macro to avoid "warning: unused parameter" type warning.
ACE_UNUSED_ARG (argument);
- // Thread cancellation point, if ACE supports it.
-#if !defined (ACE_LACKS_PTHREAD_CANCEL)
- ACE_PTHREAD_CLEANUP_PUSH (&this->queue_->lock ());
-#endif /* ACE_LACKS_PTHREAD_CANCEL */
-
// Dump the timer queue contents.
this->dump ();
- // Thread cancellation point (POP)
-#if !defined (ACE_LACKS_PTHREAD_CANCEL)
- ACE_PTHREAD_CLEANUP_POP (1);
-#endif /* ACE_LACKS_PTHREAD_CANCEL */
-
return 0;
}