diff options
Diffstat (limited to 'TAO/tao/default_server.h')
-rw-r--r-- | TAO/tao/default_server.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/TAO/tao/default_server.h b/TAO/tao/default_server.h index 49c3328b9a2..89487ff8976 100644 --- a/TAO/tao/default_server.h +++ b/TAO/tao/default_server.h @@ -52,6 +52,14 @@ public: virtual int server_connection_thread_flags (void); virtual int server_connection_thread_count (void); + /** + * 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. + */ + virtual ACE_Lock *create_event_loop_lock (void); + /// Parse the arguments, check the documentation in /// $TAO_ROOT/docs/Options.html for details int parse_args (int argc, char *argv[]); @@ -59,9 +67,6 @@ public: protected: void tokenize (char *flag_string); - void report_option_value_error (const char* option_name, - const char* option_value); - protected: /// Should the server connection handlers run in their own thread? int activate_server_connections_; @@ -78,6 +83,9 @@ protected: /// The type of lock to be returned by <create_poa_lock()>. Lock_Type poa_lock_type_; + /// The type of lock to be returned by <create_event_loop_lock()>. + Lock_Type event_loop_lock_type_; + /// The timeout flag and value for the thread-per-connection model int thread_per_connection_use_timeout_; ACE_Time_Value thread_per_connection_timeout_; |