summaryrefslogtreecommitdiff
path: root/ace/Message_Block.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-08 06:54:44 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-08 06:54:44 +0000
commit7c27db672174d4261e3a761a43277e07d3e90f93 (patch)
tree88e02d3a2ee07c48d979952fb69b00e08da3c193 /ace/Message_Block.h
parentb5e606ced2e944c4f22259d6e5eae0c1fa4c825f (diff)
downloadATCD-7c27db672174d4261e3a761a43277e07d3e90f93.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Message_Block.h')
-rw-r--r--ace/Message_Block.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ace/Message_Block.h b/ace/Message_Block.h
index 0e1ca6fdfe2..27b5cc62021 100644
--- a/ace/Message_Block.h
+++ b/ace/Message_Block.h
@@ -304,6 +304,9 @@ private:
ACE_Data_Block *db);
// Perform the actual initialization.
+ ACE_Message_Block *release_i (ACE_Lock *lock);
+ // Internal release implementation
+
int init_i (size_t size,
ACE_Message_Type type,
ACE_Message_Block *cont,
@@ -410,7 +413,7 @@ public:
ACE_Data_Block *duplicate (void);
// Return a "shallow" copy that increments our reference count by 1.
- ACE_Data_Block *release (void);
+ ACE_Data_Block *release (ACE_Lock *lock = 0);
// Decrease the shared reference count by 1. If the reference count
// is > 0 then return this; else if reference count == 0 then delete
// <this> and <mb> and return 0. Behavior is undefined if reference
@@ -438,6 +441,9 @@ public:
// Dump the state of an object.
private:
+ ACE_Data_Block *release_i (void);
+ // Internal release implementation
+
ACE_Message_Block::ACE_Message_Type type_;
// Type of message.