diff options
Diffstat (limited to 'TAO/tao/default_resource.cpp')
-rw-r--r-- | TAO/tao/default_resource.cpp | 19 |
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 { |