summaryrefslogtreecommitdiff
path: root/TAO/tao/default_resource.cpp
diff options
context:
space:
mode:
authordoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-17 19:20:22 +0000
committerdoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-17 19:20:22 +0000
commitca47b62638ba32880c10ba99bc26b1eac1ead53b (patch)
tree6616e14474133bbadfe41fcc97bd4451d9ef8e60 /TAO/tao/default_resource.cpp
parent395b1bd18a2b8d927bcc3eb15da9c18ca16da966 (diff)
downloadATCD-ca47b62638ba32880c10ba99bc26b1eac1ead53b.tar.gz
ChangeLog: Thu May 17 12:19:24 2001 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO/tao/default_resource.cpp')
-rw-r--r--TAO/tao/default_resource.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/TAO/tao/default_resource.cpp b/TAO/tao/default_resource.cpp
index 5cad356f4a9..b843fbf2287 100644
--- a/TAO/tao/default_resource.cpp
+++ b/TAO/tao/default_resource.cpp
@@ -710,6 +710,17 @@ TAO_Default_Resource_Factory::input_cdr_buffer_allocator (void)
return allocator;
}
+ACE_Allocator *
+TAO_Default_Resource_Factory::input_cdr_msgblock_allocator (void)
+{
+ ACE_Allocator *allocator = 0;
+ ACE_NEW_RETURN (allocator,
+ LOCKED_ALLOCATOR,
+ 0);
+
+ return allocator;
+}
+
int
TAO_Default_Resource_Factory::input_cdr_allocator_type_locked (void)
{
@@ -732,6 +743,14 @@ TAO_Default_Resource_Factory::output_cdr_buffer_allocator (void)
return allocator;
}
+ACE_Allocator*
+TAO_Default_Resource_Factory::output_cdr_msgblock_allocator (void)
+{
+ ACE_Allocator *allocator = 0;
+ ACE_NEW_RETURN (allocator, NULL_LOCK_ALLOCATOR, 0);
+ return allocator;
+}
+
TAO_Resource_Factory::Caching_Strategy
TAO_Default_Resource_Factory::connection_caching_strategy_type (void) const
{