diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-04-28 19:07:55 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-04-28 19:07:55 +0000 |
commit | 1e8001d8bd8a6b01b0e0018eb5b27572833916d1 (patch) | |
tree | c0987d9bfd0e7cb0caaaea73fc9767b76ece4b9d /examples/Connection/blocking | |
parent | 4993441350f9f047a0abb06d539813473fa8b85a (diff) | |
download | ATCD-1e8001d8bd8a6b01b0e0018eb5b27572833916d1.tar.gz |
removed template specializations that are now in ace/Service_Record.cpp and ace/Task.cpp
Diffstat (limited to 'examples/Connection/blocking')
-rw-r--r-- | examples/Connection/blocking/SPIPE-connector.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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<Peer_Handler, ACE_SPIPE_CONNECTOR>; -template class ACE_Guard<ACE_RW_Mutex>; -template class ACE_Map_Iterator<int, ACE_Svc_Tuple<Peer_Handler> *, ACE_RW_Mutex>; -template class ACE_Map_Manager<int, ACE_Svc_Tuple<Peer_Handler> *, ACE_RW_Mutex>; -template class ACE_Message_Queue<ACE_NULL_SYNCH>; -template class ACE_Module<ACE_NULL_SYNCH>; -template class ACE_Read_Guard<ACE_RW_Mutex>; +template class ACE_Map_Iterator<ACE_HANDLE, ACE_Svc_Tuple<Peer_Handler> *, ACE_SYNCH_RW_MUTEX>; +template class ACE_Map_Manager<ACE_HANDLE, ACE_Svc_Tuple<Peer_Handler> *, ACE_SYNCH_RW_MUTEX>; template class ACE_Svc_Handler<ACE_SPIPE_STREAM, ACE_NULL_SYNCH>; template class ACE_Svc_Tuple<Peer_Handler>; -template class ACE_TSS<ACE_Dynamic>; -template class ACE_Task<ACE_NULL_SYNCH>; -template class ACE_Thru_Task<ACE_NULL_SYNCH>; -template class ACE_Write_Guard<ACE_RW_Mutex>; + +#if defined (ACE_HAS_THREADS) + template class ACE_Guard<ACE_SYNCH_RW_MUTEX>; + template class ACE_Read_Guard<ACE_SYNCH_RW_MUTEX>; + template class ACE_Write_Guard<ACE_SYNCH_RW_MUTEX>; +#else + // These are specialized in libACE if ACE doesn't have threads. +#endif /* ACE_HAS_THREADS */ #endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */ |