diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-10-02 17:29:05 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-10-02 17:29:05 +0000 |
commit | e91577bca0483d85ef023a041fc95c9362c7a638 (patch) | |
tree | 64596e89fe88b295568485b641ece20ff2ef9594 /ACE/ace/Message_Queue_T.cpp | |
parent | 6249290fa983e204625fbd5b52a7a3c68ff8976c (diff) | |
download | ATCD-e91577bca0483d85ef023a041fc95c9362c7a638.tar.gz |
Tue Oct 2 17:06:15 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Message_Queue_T.cpp')
-rw-r--r-- | ACE/ace/Message_Queue_T.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ACE/ace/Message_Queue_T.cpp b/ACE/ace/Message_Queue_T.cpp index 89ede16ac5b..82f29e8656b 100644 --- a/ACE/ace/Message_Queue_T.cpp +++ b/ACE/ace/Message_Queue_T.cpp @@ -468,7 +468,7 @@ ACE_Message_Queue_Ex<ACE_MESSAGE_TYPE, ACE_SYNCH_USE>::notification_strategy (AC // Check if queue is empty (holds locks). -template <class ACE_MESSAGE_TYPE, ACE_SYNCH_DECL> int +template <class ACE_MESSAGE_TYPE, ACE_SYNCH_DECL> bool ACE_Message_Queue_Ex<ACE_MESSAGE_TYPE, ACE_SYNCH_USE>::is_empty (void) { ACE_TRACE ("ACE_Message_Queue_Ex<ACE_MESSAGE_TYPE, ACE_SYNCH_USE>::is_empty"); @@ -478,7 +478,7 @@ ACE_Message_Queue_Ex<ACE_MESSAGE_TYPE, ACE_SYNCH_USE>::is_empty (void) // Check if queue is full (holds locks). -template <class ACE_MESSAGE_TYPE, ACE_SYNCH_DECL> int +template <class ACE_MESSAGE_TYPE, ACE_SYNCH_DECL> bool ACE_Message_Queue_Ex<ACE_MESSAGE_TYPE, ACE_SYNCH_USE>::is_full (void) { ACE_TRACE ("ACE_Message_Queue_Ex<ACE_MESSAGE_TYPE, ACE_SYNCH_USE>::is_full"); @@ -708,7 +708,7 @@ ACE_Message_Queue<ACE_SYNCH_USE>::notification_strategy (ACE_Notification_Strate // Check if queue is empty (does not hold locks). -template <ACE_SYNCH_DECL> int +template <ACE_SYNCH_DECL> bool ACE_Message_Queue<ACE_SYNCH_USE>::is_empty_i (void) { ACE_TRACE ("ACE_Message_Queue<ACE_SYNCH_USE>::is_empty_i"); @@ -717,7 +717,7 @@ ACE_Message_Queue<ACE_SYNCH_USE>::is_empty_i (void) // Check if queue is full (does not hold locks). -template <ACE_SYNCH_DECL> int +template <ACE_SYNCH_DECL> bool ACE_Message_Queue<ACE_SYNCH_USE>::is_full_i (void) { ACE_TRACE ("ACE_Message_Queue<ACE_SYNCH_USE>::is_full_i"); @@ -726,22 +726,22 @@ ACE_Message_Queue<ACE_SYNCH_USE>::is_full_i (void) // Check if queue is empty (holds locks). -template <ACE_SYNCH_DECL> int +template <ACE_SYNCH_DECL> bool ACE_Message_Queue<ACE_SYNCH_USE>::is_empty (void) { ACE_TRACE ("ACE_Message_Queue<ACE_SYNCH_USE>::is_empty"); - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX_T, ace_mon, this->lock_, -1); + ACE_GUARD_RETURN (ACE_SYNCH_MUTEX_T, ace_mon, this->lock_, false); return this->is_empty_i (); } // Check if queue is full (holds locks). -template <ACE_SYNCH_DECL> int +template <ACE_SYNCH_DECL> bool ACE_Message_Queue<ACE_SYNCH_USE>::is_full (void) { ACE_TRACE ("ACE_Message_Queue<ACE_SYNCH_USE>::is_full"); - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX_T, ace_mon, this->lock_, -1); + ACE_GUARD_RETURN (ACE_SYNCH_MUTEX_T, ace_mon, this->lock_, false); return this->is_full_i (); } |