summaryrefslogtreecommitdiff
path: root/ACE/ace/Message_Queue_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Message_Queue_T.h')
-rw-r--r--ACE/ace/Message_Queue_T.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ACE/ace/Message_Queue_T.h b/ACE/ace/Message_Queue_T.h
index cfd3fdd43a6..f4be9145dde 100644
--- a/ACE/ace/Message_Queue_T.h
+++ b/ACE/ace/Message_Queue_T.h
@@ -1385,6 +1385,11 @@ public:
/// Dump the state of an object.
virtual void dump () const;
+ /// Support access to the underlying <Message_Queue>. Note that
+ /// manipulating the lower level queue directly may be hazardous (, but
+ /// necessary in some scenarios); be sure to lock the queue first.
+ ACE_Message_Queue<ACE_SYNCH_USE, TIME_POLICY> &queue ();
+
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;