summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator
diff options
context:
space:
mode:
authorChris Cleeland <chris.cleeland@gmail.com>1997-04-21 16:34:45 +0000
committerChris Cleeland <chris.cleeland@gmail.com>1997-04-21 16:34:45 +0000
commitb1d28b8b53e5d06ac6d2ef110331adf6dc5b4ea4 (patch)
tree0c9c0332cabb59a2cd2fe6dcf77465b4e9b4903a /examples/Service_Configurator
parent06357c6f807aba4bb686266bcc04f90082f31831 (diff)
downloadATCD-b1d28b8b53e5d06ac6d2ef110331adf6dc5b4ea4.tar.gz
* examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp:
Removed some unnecessary explicit template instantiations. * examples/Threads/barrier1.cpp (main): Explicitly converted n_threads to int.
Diffstat (limited to 'examples/Service_Configurator')
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp
index 0a5c84ef4b4..7720b0515d4 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp
@@ -5,6 +5,7 @@
#include "ace/Get_Opt.h"
#include "ace/INET_Addr.h"
+#include "ace/TLI_Acceptor.h"
#include "Handle_Thr_Stream.h"
#if defined (ACE_HAS_THREADS)
@@ -188,13 +189,15 @@ HANDLE_THR_ACCEPTOR remote_thr_stream;
ACE_Service_Object_Type rts (&remote_thr_stream, "Remote_Thr_Stream");
#if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION)
+# if defined(ACE_HAS_TLI)
template class ACE_Acceptor<CLI_STREAM, ACE_TLI_ACCEPTOR>;
template class ACE_Accept_Strategy<CLI_STREAM, ACE_TLI_ACCEPTOR>;
+template class ACE_Strategy_Acceptor<CLI_STREAM, ACE_TLI_ACCEPTOR>;
+template class ACE_Svc_Handler<ACE_TLI_STREAM, ACE_MT_SYNCH>;
+# endif /* ACE_HAS_TLI */
template class ACE_Concurrency_Strategy<CLI_STREAM>;
template class ACE_Creation_Strategy<CLI_STREAM>;
template class ACE_Scheduling_Strategy<CLI_STREAM>;
-template class ACE_Strategy_Acceptor<CLI_STREAM, ACE_TLI_ACCEPTOR>;
-template class ACE_Svc_Handler<ACE_TLI_STREAM, ACE_MT_SYNCH>;
template class ACE_TSS<ACE_Dynamic>;
template class ACE_Thread_Strategy<CLI_STREAM>;
template class CLI_Stream <THR_STREAM>;