summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-02 01:04:54 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-02 01:04:54 +0000
commitd0742eea1f368215906a6c6ee2319d093998429a (patch)
tree4278a04049299a5a70eedf676a803e25647d34de /netsvcs
parent895521b8424ba7eac3dcd246338d9211bfbf1332 (diff)
downloadATCD-d0742eea1f368215906a6c6ee2319d093998429a.tar.gz
Corrected some template instantiation errors.
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/lib/Server_Logging_Handler.cpp32
1 files changed, 24 insertions, 8 deletions
diff --git a/netsvcs/lib/Server_Logging_Handler.cpp b/netsvcs/lib/Server_Logging_Handler.cpp
index c1e618778df..6f80aa71fb8 100644
--- a/netsvcs/lib/Server_Logging_Handler.cpp
+++ b/netsvcs/lib/Server_Logging_Handler.cpp
@@ -16,10 +16,6 @@ ACE_SVC_FACTORY_DEFINE (ACE_Server_Logging_Acceptor)
ACE_SVC_FACTORY_DEFINE (ACE_Thr_Server_Logging_Acceptor)
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__)
- template class Base_Optimizer<LOG_MESSAGE_RECEIVER, ACE_CString>;
- template class Base_Optimizer<LOG_MESSAGE_RECEIVER, SCHEDULE_STRATEGY>;
-#endif /* ! (ACE_HAS_BROKEN_HPUX_TEMPLATES) && ! (__GNUG__) */
template class Log_Message_Receiver_Impl<ACE_NULL_SYNCH>;
template class Static_Log_Message_Receiver<ACE_NULL_SYNCH>;
template class ACE_Acceptor<Null_Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>;
@@ -34,6 +30,10 @@ template class ACE_Server_Logging_Acceptor_T<Null_Synch_Logging_Handler_Static_R
ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver> >;
template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Null_Synch_Static_Receiver>;
template class ACE_Server_Logging_Handler<Null_Synch_Static_Receiver>;
+#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__)
+ template class Base_Optimizer<Null_Synch_Static_Receiver, ACE_CString>;
+ template class Base_Optimizer<Null_Synch_Static_Receiver, ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver> >;
+#endif /* ! (ACE_HAS_BROKEN_HPUX_TEMPLATES) && ! (__GNUG__) */
template class Static_Log_Message_Receiver<ACE_LOGGER_SYNCH>;
@@ -89,6 +89,14 @@ template class ACE_Server_Logging_Acceptor_T<Synch_Thr_Logging_Handler_Receiver,
template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Synch_Static_Receiver>;
template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Synch_Receiver>;
+#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__)
+ template class Base_Optimizer<Synch_Static_Receiver, ACE_CString>;
+ template class Base_Optimizer<Synch_Receiver, ACE_CString>;
+ template class Base_Optimizer<Synch_Static_Receiver, ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver> >;
+ template class Base_Optimizer<Synch_Static_Receiver, ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> >;
+ template class Base_Optimizer<Synch_Receiver, ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver> >;
+ template class Base_Optimizer<Synch_Receiver, ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> >;
+#endif /* ! (ACE_HAS_BROKEN_HPUX_TEMPLATES) && ! (__GNUG__) */
#if defined (ACE_HAS_THREADS)
template class ACE_Atomic_Op<ACE_Thread_Mutex, u_long>;
@@ -114,10 +122,6 @@ template class ACE_Thr_Server_Logging_Handler<Synch_Receiver>;
// here.
#endif /* ACE_HAS_TLI */
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__)
- #pragma instantiate Base_Optimizer<LOG_MESSAGE_RECEIVER, ACE_CString>
- #pragma instantiate Base_Optimizer<LOG_MESSAGE_RECEIVER, SCHEDULE_STRATEGY>
-#endif /* ! (ACE_HAS_BROKEN_HPUX_TEMPLATES) && ! (__GNUG__) */
#pragma instantiate Log_Message_Receiver_Impl<ACE_NULL_SYNCH>
#pragma instantiate Static_Log_Message_Receiver<ACE_NULL_SYNCH>
#pragma instantiate ACE_Acceptor<Null_Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>
@@ -132,6 +136,10 @@ template class ACE_Thr_Server_Logging_Handler<Synch_Receiver>;
ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver> >
#pragma instantiate ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Null_Synch_Static_Receiver>
#pragma instantiate ACE_Server_Logging_Handler<Null_Synch_Static_Receiver>
+#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__)
+ #pragma instantiate Base_Optimizer<Null_Synch_Static_Receiver, ACE_CString>
+ #pragma instantiate Base_Optimizer<Null_Synch_Static_Receiver, ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver> >
+#endif /* ! (ACE_HAS_BROKEN_HPUX_TEMPLATES) && ! (__GNUG__) */
#pragma instantiate Static_Log_Message_Receiver<ACE_LOGGER_SYNCH>
@@ -187,6 +195,14 @@ template class ACE_Thr_Server_Logging_Handler<Synch_Receiver>;
#pragma instantiate ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Synch_Static_Receiver>
#pragma instantiate ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Synch_Receiver>
+#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__)
+ #pragma instantiate Base_Optimizer<Synch_Static_Receiver, ACE_CString>
+ #pragma instantiate Base_Optimizer<Synch_Receiver, ACE_CString>
+ #pragma instantiate Base_Optimizer<Synch_Static_Receiver, ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver> >
+ #pragma instantiate Base_Optimizer<Synch_Static_Receiver, ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> >
+ #pragma instantiate Base_Optimizer<Synch_Receiver, ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver> >
+ #pragma instantiate Base_Optimizer<Synch_Receiver, ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> >
+#endif /* ! (ACE_HAS_BROKEN_HPUX_TEMPLATES) && ! (__GNUG__) */
#if defined (ACE_HAS_THREADS)
#pragma instantiate ACE_Atomic_Op<ACE_Thread_Mutex, u_long>