From 1e8001d8bd8a6b01b0e0018eb5b27572833916d1 Mon Sep 17 00:00:00 2001 From: levine Date: Mon, 28 Apr 1997 19:07:55 +0000 Subject: removed template specializations that are now in ace/Service_Record.cpp and ace/Task.cpp --- examples/Connection/blocking/SPIPE-connector.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'examples/Connection/blocking') diff --git a/examples/Connection/blocking/SPIPE-connector.cpp b/examples/Connection/blocking/SPIPE-connector.cpp index f0674f11bb5..05f3c911293 100644 --- a/examples/Connection/blocking/SPIPE-connector.cpp +++ b/examples/Connection/blocking/SPIPE-connector.cpp @@ -192,16 +192,16 @@ IPC_Client::parse_args (int argc, char *argv[]) #if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION) template class ACE_Connector; -template class ACE_Guard; -template class ACE_Map_Iterator *, ACE_RW_Mutex>; -template class ACE_Map_Manager *, ACE_RW_Mutex>; -template class ACE_Message_Queue; -template class ACE_Module; -template class ACE_Read_Guard; +template class ACE_Map_Iterator *, ACE_SYNCH_RW_MUTEX>; +template class ACE_Map_Manager *, ACE_SYNCH_RW_MUTEX>; template class ACE_Svc_Handler; template class ACE_Svc_Tuple; -template class ACE_TSS; -template class ACE_Task; -template class ACE_Thru_Task; -template class ACE_Write_Guard; + +#if defined (ACE_HAS_THREADS) + template class ACE_Guard; + template class ACE_Read_Guard; + template class ACE_Write_Guard; +#else + // These are specialized in libACE if ACE doesn't have threads. +#endif /* ACE_HAS_THREADS */ #endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */ -- cgit v1.2.1