diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-26 23:41:28 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-26 23:41:28 +0000 |
commit | 6da2c1b011882d7378193459819936c3fd5f7b4b (patch) | |
tree | 5b97a9c7672a1a3424d3f8061dbcf9bd968d22d2 /TAO/tao/default_server.h | |
parent | f6d42945f105602f22062169f21cca4af31c78d2 (diff) | |
download | ATCD-6da2c1b011882d7378193459819936c3fd5f7b4b.tar.gz |
ChangeLogTag:Tue May 26 18:39:11 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/default_server.h')
-rw-r--r-- | TAO/tao/default_server.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/TAO/tao/default_server.h b/TAO/tao/default_server.h index 4f868b5b06c..7bdb4a5ae3c 100644 --- a/TAO/tao/default_server.h +++ b/TAO/tao/default_server.h @@ -66,6 +66,13 @@ public: // else if ORB_init count > 1 return // ACE_Thread_Mutex. + virtual ACE_Lock *create_event_loop_lock (void); + // Creates and returns a lock for the event loop. + // If the ORB is single threaded or some form of ORB-per-thread then + // it is more efficient to use a Null_Mutex for the variables + // controlling the event loop (termination). Otherwise a + // Recursive_Thread_Mutex or Thread_Mutex may be required. + // = Service Configurator hooks. virtual int init (int argc, char *argv[]); // Initialize the ORB when it's linked dynamically. @@ -82,6 +89,8 @@ public: // where <{which}> is one of <thread> or <null> (default <thread>) // <-ORBpoamgrlock> <{which}> // where <{which}> is one of <thread> or <null> (default <thread>) + // <-ORBeventlock> <{which}> + // where <{which}> is one of <thread> or <null> (default <null>) private: void tokenize (char *flag_string); @@ -107,6 +116,9 @@ private: Lock_Type poa_mgr_lock_type_; // The type of lock to be returned by <create_poa_mgr_lock()>. + Lock_Type event_loop_lock_type_; + // The type of lock to be returned by <create_event_loop_lock()>. + // = Strategies Used. TAO_Reactive_Strategy<TAO_Server_Connection_Handler> reactive_strategy_; // A strategy for passively establishing connections which utilizes |