diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-06 05:16:57 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-06 05:16:57 +0000 |
commit | 201fa59117909dd4156c8b367c9393f8bbed14a5 (patch) | |
tree | 789c016e1ce7d5587891c45d8c6b341e73a193ee /netsvcs | |
parent | b5b2a05ef889871572c5ed5dfe2140578dd8c620 (diff) | |
download | ATCD-201fa59117909dd4156c8b367c9393f8bbed14a5.tar.gz |
Instantiate ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_SYNCH> only when ACE_HAS_THREADS.
Diffstat (limited to 'netsvcs')
-rw-r--r-- | netsvcs/lib/Server_Logging_Handler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/netsvcs/lib/Server_Logging_Handler.cpp b/netsvcs/lib/Server_Logging_Handler.cpp index a40ac0bdc2d..ee5081aa390 100644 --- a/netsvcs/lib/Server_Logging_Handler.cpp +++ b/netsvcs/lib/Server_Logging_Handler.cpp @@ -90,6 +90,7 @@ template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NUL template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_MT_SYNCH, Synch_Static_Receiver>; template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_MT_SYNCH, Synch_Receiver>; template class Log_Message_Receiver_Impl<ACE_MT_SYNCH>; + template class ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_SYNCH>; #endif /* ACE_HAS_THREADS */ template class ACE_Server_Logging_Handler<Synch_Static_Receiver>; @@ -97,8 +98,6 @@ template class ACE_Thr_Server_Logging_Handler<Synch_Static_Receiver>; template class ACE_Server_Logging_Handler<Synch_Receiver>; template class ACE_Thr_Server_Logging_Handler<Synch_Receiver>; -template class ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_SYNCH>; - #if defined (ACE_HAS_TLI) #if defined (ACE_HAS_THREADS) template class ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_NULL_SYNCH>; @@ -184,6 +183,7 @@ template class ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_SYNCH>; #pragma instantiate ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_MT_SYNCH, Synch_Static_Receiver> #pragma instantiate ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_MT_SYNCH, Synch_Receiver> #pragma instantiate Log_Message_Receiver_Impl<ACE_MT_SYNCH> + #pragma instantiate ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_SYNCH> #endif /* ACE_HAS_THREADS */ #pragma instantiate ACE_Server_Logging_Handler<Synch_Static_Receiver> @@ -191,8 +191,6 @@ template class ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_SYNCH>; #pragma instantiate ACE_Server_Logging_Handler<Synch_Receiver> #pragma instantiate ACE_Thr_Server_Logging_Handler<Synch_Receiver> -#pragma instantiate ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_SYNCH> - #if defined (ACE_HAS_TLI) #if defined (ACE_HAS_THREADS) #pragma instantiate ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_NULL_SYNCH> |