summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Lite.h
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-12 02:50:41 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-12 02:50:41 +0000
commit860def8520236b86f86e6aa196cd484944b888cf (patch)
tree395f23767889bbe1ded64caf1745f0d0e55b9ef9 /TAO/tao/GIOP_Message_Lite.h
parentab725ef97f41f2745ea113c715660dbee2b2068f (diff)
downloadATCD-860def8520236b86f86e6aa196cd484944b888cf.tar.gz
ChangeLogTag: Tue Apr 11 21:41:57 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/GIOP_Message_Lite.h')
-rw-r--r--TAO/tao/GIOP_Message_Lite.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/TAO/tao/GIOP_Message_Lite.h b/TAO/tao/GIOP_Message_Lite.h
index 598ee06ea12..8819960ed4d 100644
--- a/TAO/tao/GIOP_Message_Lite.h
+++ b/TAO/tao/GIOP_Message_Lite.h
@@ -166,8 +166,17 @@ private:
const u_char *ptr,
size_t len);
// Print out the contents of the buffer.
-
- TAO_OutputCDR output_;
+
+ ACE_Allocator *cdr_buffer_alloc_;
+ ACE_Allocator *cdr_dblock_alloc_;
+ // Allocators for the outpur CDR that we hold. As we cannot rely on
+ // the resources from ORB Core we reserve our own resources. The
+ // reason that we cannot believe the ORB core is that, for a
+ // multi-threaded servers it dishes out resources cached in
+ // TSS. This would be dangerous as TSS gets destroyed before we
+ // would. So we have our own memory that we can rely on.
+
+ TAO_OutputCDR *output_;
// The output cdr for the GIOP lite message
char repbuf_[ACE_CDR::DEFAULT_BUFSIZE];