summaryrefslogtreecommitdiff
path: root/ace/Svc_Handler.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-17 11:36:00 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-17 11:36:00 +0000
commitbf8d5aba015b2b05d938ac035ae3b564def4603e (patch)
tree2c5f24750cb17cecb69aa20307ce70ba57603994 /ace/Svc_Handler.h
parentdb012466073caac9f97980dce7a6af648684d0d1 (diff)
downloadATCD-bf8d5aba015b2b05d938ac035ae3b564def4603e.tar.gz
move ace_svc_handler_lock_ to Object_Manager
Diffstat (limited to 'ace/Svc_Handler.h')
-rw-r--r--ace/Svc_Handler.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/ace/Svc_Handler.h b/ace/Svc_Handler.h
index 17238d1acd9..8e9289dcc3f 100644
--- a/ace/Svc_Handler.h
+++ b/ace/Svc_Handler.h
@@ -45,8 +45,8 @@ class ACE_Svc_Handler : public ACE_Task<ACE_SYNCH_2>
public:
// = Initialization and termination methods.
ACE_Svc_Handler (ACE_Thread_Manager * = 0,
- ACE_Message_Queue<ACE_SYNCH_2> * = 0,
- ACE_Reactor * = ACE_Reactor::instance ());
+ ACE_Message_Queue<ACE_SYNCH_2> * = 0,
+ ACE_Reactor * = ACE_Reactor::instance ());
virtual ~ACE_Svc_Handler (void);
@@ -73,14 +73,14 @@ public:
// = Demultiplexing hooks.
virtual int handle_close (ACE_HANDLE = ACE_INVALID_HANDLE,
- ACE_Reactor_Mask = ACE_Event_Handler::ALL_EVENTS_MASK);
+ ACE_Reactor_Mask = ACE_Event_Handler::ALL_EVENTS_MASK);
// Perform termination activities on the SVC_HANDLER. The default
// behavior is to close down the <peer_> (to avoid descriptor leaks)
// and to delete this (to avoid memory leaks)! If you don't want
// this behavior make sure you override this method...
virtual int handle_timeout (const ACE_Time_Value &time,
- const void *);
+ const void *);
// Default behavior when timeouts occur is to close down the
// <Svc_Handler> by calling <handle_close>.
@@ -137,11 +137,6 @@ private:
char closing_;
// Keeps track of whether we are in the process of closing (required
// to avoid circular calls to <handle_close>).
-
-#if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) && !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES)
- static ACE_Thread_Mutex ace_svc_handler_lock_;
- // Lock the creation of the Singleton.
-#endif /* defined (ACE_MT_SAFE) && !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) */
};
#if defined (__ACE_INLINE__)