diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-04-12 01:59:35 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-04-12 01:59:35 +0000 |
commit | 32f945afcb4fe3d95b870a5c3f5938d7fe2fcbf7 (patch) | |
tree | 078478da7ed7ed58b38fdff3375789e3b17137a2 /apps/Gateway | |
parent | 5664a15539b7a46f47543bfc12dca042a852f42a (diff) | |
download | ATCD-32f945afcb4fe3d95b870a5c3f5938d7fe2fcbf7.tar.gz |
fixed template specializations for no-thread platforms
Diffstat (limited to 'apps/Gateway')
-rw-r--r-- | apps/Gateway/Gateway/Proxy_Handler_Connector.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/apps/Gateway/Gateway/Proxy_Handler_Connector.cpp b/apps/Gateway/Gateway/Proxy_Handler_Connector.cpp index 29d823f705c..bcbd590efc0 100644 --- a/apps/Gateway/Gateway/Proxy_Handler_Connector.cpp +++ b/apps/Gateway/Gateway/Proxy_Handler_Connector.cpp @@ -94,10 +94,17 @@ Proxy_Handler_Connector::initiate_connection (Proxy_Handler *proxy_handler, #if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION) template class ACE_Connector<Proxy_Handler, ACE_SOCK_CONNECTOR>; -template class ACE_Guard<ACE_RW_Mutex>; -template class ACE_Map_Iterator<int, ACE_Svc_Tuple<Proxy_Handler> *, ACE_RW_Mutex>; -template class ACE_Map_Manager<int, ACE_Svc_Tuple<Proxy_Handler> *, ACE_RW_Mutex>; -template class ACE_Read_Guard<ACE_RW_Mutex>; template class ACE_Svc_Tuple<Proxy_Handler>; -template class ACE_Write_Guard<ACE_RW_Mutex>; +#if defined (ACE_MT_SAFE) + template class ACE_Map_Manager<ACE_HANDLE, ACE_Svc_Tuple<Proxy_Handler> *, ACE_RW_Mutex>; + template class ACE_Map_Iterator<ACE_HANDLE, ACE_Svc_Tuple<Proxy_Handler> *, ACE_RW_Mutex>; + template class ACE_Map_Entry<ACE_HANDLE, ACE_Svc_Tuple<Proxy_Handler> *>; + template class ACE_Guard<ACE_RW_Mutex>; + template class ACE_Read_Guard<ACE_RW_Mutex>; + template class ACE_Write_Guard<ACE_RW_Mutex>; +#else + template class ACE_Map_Manager<ACE_HANDLE, ACE_Svc_Tuple<Proxy_Handler> *, ACE_Null_Mutex>; + template class ACE_Map_Iterator<ACE_HANDLE, ACE_Svc_Tuple<Proxy_Handler> *, ACE_Null_Mutex>; + template class ACE_Map_Entry<ACE_HANDLE, ACE_Svc_Tuple<Proxy_Handler> *>; +#endif /* ACE_MT_SAFE */ #endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */ |