summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-05 18:24:53 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-05 18:24:53 +0000
commit373eace709bdc037ff58145579d720793cfbc0f9 (patch)
treeec0681988fda0f1028fc8ba4b026579d52c135df /examples
parent932858f993b300b40e4cf8bd8ec52a5b39bc829b (diff)
downloadATCD-373eace709bdc037ff58145579d720793cfbc0f9.tar.gz
Completed Timers implementation for POSIX platforms. Timers
implementation is now common for POSIX and WIN32. Portable ACE_Auto_Event is used in the aux thread to wait for the Timer events.
Diffstat (limited to 'examples')
-rw-r--r--examples/Reactor/Proactor/test_timeout.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/Reactor/Proactor/test_timeout.cpp b/examples/Reactor/Proactor/test_timeout.cpp
index bc1ab9c5e5e..04d9b20d471 100644
--- a/examples/Reactor/Proactor/test_timeout.cpp
+++ b/examples/Reactor/Proactor/test_timeout.cpp
@@ -96,3 +96,9 @@ main (int, char *[])
ACE_Thread_Manager::instance ()->wait ();
return 0;
}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class ACE_Atomic_Op<ACE_Thread_Mutex, int>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+#pragma instantiate ACE_Atomic_Op<ACE_Thread_Mutex, int>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */