summaryrefslogtreecommitdiff
path: root/TAO/tao/default_resource.cpp
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2001-06-24 22:32:23 +0000
committerbala <balanatarajan@users.noreply.github.com>2001-06-24 22:32:23 +0000
commitdd993905403a0122fe1d0f3082704bae016e634b (patch)
tree6f74db3afb2f8dc36944aedba7fe7ddfc145040b /TAO/tao/default_resource.cpp
parent29ac9e95ac97a74bda68c5c0c2c3ae68ff2808d7 (diff)
downloadATCD-dd993905403a0122fe1d0f3082704bae016e634b.tar.gz
ChangeLogTag: Sun Jun 24 17:26:17 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/default_resource.cpp')
-rw-r--r--TAO/tao/default_resource.cpp26
1 files changed, 23 insertions, 3 deletions
diff --git a/TAO/tao/default_resource.cpp b/TAO/tao/default_resource.cpp
index de07700d0e8..521e6fc8218 100644
--- a/TAO/tao/default_resource.cpp
+++ b/TAO/tao/default_resource.cpp
@@ -26,6 +26,8 @@
ACE_RCSID(tao, default_resource, "$Id$")
+
+
TAO_Default_Resource_Factory::TAO_Default_Resource_Factory (void)
: use_tss_resources_ (0),
use_locked_data_blocks_ (1),
@@ -243,7 +245,13 @@ TAO_Default_Resource_Factory::init (int argc, char **argv)
this->cached_connection_lock_type_ = TAO_THREAD_LOCK;
else if (ACE_OS::strcasecmp (name,
"null") == 0)
- this->cached_connection_lock_type_ = TAO_NULL_LOCK;
+ {
+ // @@ Bug 940 :This is a sort of hack now. We need to put
+ // this in a common place once we get teh common
+ // switch that is documented in bug 940...
+ this->use_locked_data_blocks_ = 0;
+ this->cached_connection_lock_type_ = TAO_NULL_LOCK;
+ }
}
}
@@ -264,7 +272,13 @@ TAO_Default_Resource_Factory::init (int argc, char **argv)
this->cached_connection_lock_type_ = TAO_THREAD_LOCK;
else if (ACE_OS::strcasecmp (name,
"null") == 0)
- this->cached_connection_lock_type_ = TAO_NULL_LOCK;
+ {
+ // @@ Bug 940 :This is a sort of hack now. We need to put
+ // this in a common place once we get teh common
+ // switch that is documented in bug 940...
+ this->use_locked_data_blocks_ = 0;
+ this->cached_connection_lock_type_ = TAO_NULL_LOCK;
+ }
}
}
@@ -285,7 +299,13 @@ TAO_Default_Resource_Factory::init (int argc, char **argv)
this->cached_connection_lock_type_ = TAO_THREAD_LOCK;
else if (ACE_OS::strcasecmp (name,
"null") == 0)
- this->cached_connection_lock_type_ = TAO_NULL_LOCK;
+ {
+ // @@ Bug 940 :This is a sort of hack now. We need to put
+ // this in a common place once we get teh common
+ // switch that is documented in bug 940...
+ this->use_locked_data_blocks_ = 0;
+ this->cached_connection_lock_type_ = TAO_NULL_LOCK;
+ }
}
}