From 284a25eb61ad4b06ebb75e97de2e131504b2f418 Mon Sep 17 00:00:00 2001 From: schmidt <douglascraigschmidt@users.noreply.github.com> Date: Fri, 26 Sep 1997 04:01:35 +0000 Subject: *** empty log message *** --- ace/Message_Queue.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ace/Message_Queue.h b/ace/Message_Queue.h index 2a814b2fbb0..150798a1363 100644 --- a/ace/Message_Queue.h +++ b/ace/Message_Queue.h @@ -181,18 +181,19 @@ public: protected: // = Routines that actually do the enqueueing and dequeueing. // These routines assume that locks are held by the corresponding - // public methods. + // public methods. Since they are virtual, you can change the + // queueing mechanism by subclassing from <ACE_Message_Queue>. - int enqueue_i (ACE_Message_Block *new_item); + virtual int enqueue_i (ACE_Message_Block *new_item); // Enqueue an <ACE_Message_Block *> in accordance with its priority. - int enqueue_tail_i (ACE_Message_Block *new_item); + virtual int enqueue_tail_i (ACE_Message_Block *new_item); // Enqueue an <ACE_Message_Block *> at the end of the queue. - int enqueue_head_i (ACE_Message_Block *new_item); + virtual int enqueue_head_i (ACE_Message_Block *new_item); // Enqueue an <ACE_Message_Block *> at the head of the queue. - int dequeue_head_i (ACE_Message_Block *&first_item); + virtual int dequeue_head_i (ACE_Message_Block *&first_item); // Dequeue and return the <ACE_Message_Block *> at the head of the // queue. -- cgit v1.2.1