From bce95d742e723e979972dcf915a760794f2ba737 Mon Sep 17 00:00:00 2001 From: irfan Date: Thu, 13 Nov 1997 01:18:43 +0000 Subject: *** empty log message *** --- ace/Svc_Handler.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'ace/Svc_Handler.h') diff --git a/ace/Svc_Handler.h b/ace/Svc_Handler.h index e5f616cb7ed..e038e7f0d52 100644 --- a/ace/Svc_Handler.h +++ b/ace/Svc_Handler.h @@ -18,13 +18,14 @@ #define ACE_SVC_HANDLER_H // Forward decls. -class ACE_Dynamic; class ACE_Connection_Recycling_Strategy; #include "ace/Synch_Options.h" #include "ace/Task.h" #include "ace/Service_Config.h" #include "ace/Synch_T.h" +#include "ace/Dynamic.h" +#include "ace/Singleton.h" template class ACE_Svc_Handler : public ACE_Task @@ -153,11 +154,8 @@ private: ACE_PEER_STREAM peer_; // Maintain connection with client. - static ACE_Dynamic *instance (void); - // Point of access to the singleton. - - static void cleanup (void *object, void *); - // Cleanup method, used by ACE_Object_Manager to destroy the singleton. + typedef ACE_TSS_Singleton DYNAMIC; + // Point of access to the ACE_Dynamic singleton. char dynamic_; // Have we been dynamically created? -- cgit v1.2.1