diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-26 15:36:09 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-26 15:36:09 +0000 |
commit | 8d9fb01ed10c117e49e645fe00e9f083a366eae1 (patch) | |
tree | daae3a6433c62b5d9242688709aaddca9c0b01d7 | |
parent | d8e46d1557da490937c34f308a676fe0b29327ee (diff) | |
download | ATCD-8d9fb01ed10c117e49e645fe00e9f083a366eae1.tar.gz |
ChangeLogTag:Thu Aug 26 10:29:42 1999 Nanbor Wang <nanbor@cs.wustl.edu>
-rw-r--r-- | TAO/docs/Options.html | 15 | ||||
-rw-r--r-- | TAO/tao/default_server.cpp | 2 |
2 files changed, 9 insertions, 8 deletions
diff --git a/TAO/docs/Options.html b/TAO/docs/Options.html index f29c64ebe18..8d212682837 100644 --- a/TAO/docs/Options.html +++ b/TAO/docs/Options.html @@ -469,10 +469,10 @@ The default is <code>select_mt</code></TD> <TD><a name="-ORBConnectionCachingStrategy"></a> Specify the strategy to use for caching and purging connections. By default, TAO_CONNECTION_CACHING_STRATEGY is used which has - been set to Least Recently Used (LRU). + been set to Least Recently Used (LRU). For example, for choosing the First In First Out option just add <code>-ORBConnectionCachingStrategy fifo</code> to the service - configurator file. + configurator file. </TD> </TR> <TR> @@ -512,7 +512,7 @@ The default is <code>select_mt</code></TD> service each connection. The default is reactive. <P> TAO also supports the thread-pool concurrency model - but this is implemented by the user, creating multiple + but this is implemented by the user, creating multiple threads that call <CODE>ORB::run()</CODE> and using the <CODE>-ORBReactorType tp</CODE> option. </P> @@ -533,7 +533,7 @@ The default is <code>select_mt</code></TD> shutdown. This option controls the period of the polling, expressed in milliseconds. - Applications that do not shutdown, or that can otherwise + Applications that do not shutdown, or that can otherwise ensure that no server threads will be running at shutdown (for example if all the clients terminate before the server) can disable the polling using the @@ -546,7 +546,7 @@ The default is <code>select_mt</code></TD> this flag also expresses the time in milliseconds (as a string constant) and the magic value <CODE>"INFINITE"</CODE> can be used to disable polling - entirely. This yields a slight performance improvement + entirely. This yields a slight performance improvement (around 1%). </P> </TD> @@ -655,7 +655,8 @@ The default is <code>select_mt</code></TD> <TD>Specify the flags used for thread creation. Flags can be any logical-OR combination of <CODE>THR_DETACHED</CODE>, <CODE>THR_BOUND</CODE>, <CODE>THR_NEW_LWP</CODE>, - <CODE>THE_SUSPENDED</CODE>. The default is <CODE>THR_BOUND </CODE>. </TD> + <CODE>THE_SUSPENDED</CODE>. The default is <CODE>THR_BOUND | + THR_DETACHED</CODE> . </TD> </TR> <TR> @@ -678,7 +679,7 @@ The default is <code>select_mt</code></TD> --> <TD><CODE>-ORBConnectorLock</CODE> <EM>lock type</EM></TD> <TD><a - name="-ORBConnectorLock"></a>This option has been moved to the + name="-ORBConnectorLock"></a>This option has been moved to the client strategy factory.</TD> </TR> diff --git a/TAO/tao/default_server.cpp b/TAO/tao/default_server.cpp index b9eb5eb1d3c..ca82d0294e1 100644 --- a/TAO/tao/default_server.cpp +++ b/TAO/tao/default_server.cpp @@ -11,7 +11,7 @@ ACE_RCSID(tao, default_server, "$Id$") TAO_Default_Server_Strategy_Factory::TAO_Default_Server_Strategy_Factory (void) : activate_server_connections_ (0), - thread_flags_ (THR_BOUND), + thread_flags_ (THR_BOUND | THR_DETACHED), poa_lock_type_ (TAO_THREAD_LOCK), event_loop_lock_type_ (TAO_NULL_LOCK), thread_per_connection_use_timeout_ (-1) |