summaryrefslogtreecommitdiff
path: root/TAO/tao/default_client.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-02-05 13:49:01 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-02-05 13:49:01 +0000
commitcefed5057944eea23e8d814c512abe7e6b2db826 (patch)
tree9a9f0f0bd3003641eb8515461daf9651995460a4 /TAO/tao/default_client.cpp
parenta95b46cfcdb607d96d7532a8ff3a1e5f55a5de44 (diff)
downloadATCD-cefed5057944eea23e8d814c512abe7e6b2db826.tar.gz
Thu Feb 5 13:48:13 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/default_client.cpp: Added TAO_USE_WAIT_ON_LF_NO_UPCALL as new define with which the wait strategy can be set to lf_no_upcall * tao/ORB_Core.cpp: Const change
Diffstat (limited to 'TAO/tao/default_client.cpp')
-rw-r--r--TAO/tao/default_client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/TAO/tao/default_client.cpp b/TAO/tao/default_client.cpp
index 2191ecca969..14bceeee6a3 100644
--- a/TAO/tao/default_client.cpp
+++ b/TAO/tao/default_client.cpp
@@ -37,6 +37,8 @@ TAO_Default_Client_Strategy_Factory::TAO_Default_Client_Strategy_Factory (void)
// Use single thread client connection handler
#if defined (TAO_USE_ST_CLIENT_CONNECTION_HANDLER)
this->wait_strategy_ = TAO_WAIT_ON_REACTOR;
+#elif defined (TAO_USE_WAIT_ON_LF_NO_UPCALL)
+ this->wait_strategy_ = TAO_WAIT_ON_LF_NO_UPCALL;
#else
this->wait_strategy_ = TAO_WAIT_ON_LEADER_FOLLOWER;
#endif /* TAO_USE_ST_CLIENT_CONNECTION_HANDLER */