summaryrefslogtreecommitdiff
path: root/TAO/tao/default_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/default_server.h')
-rw-r--r--TAO/tao/default_server.h12
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