diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2007-02-21 22:29:49 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2007-02-21 22:29:49 +0000 |
commit | f11224da696a623a28510aafb10532ca999be51b (patch) | |
tree | 63afe56dbcdb765415669eeb73315cf45b03b9ca /ACE/ace/Message_Queue_T.cpp | |
parent | cc970acff36ed652b93a32c8074558c310349658 (diff) | |
download | ATCD-f11224da696a623a28510aafb10532ca999be51b.tar.gz |
ChangeLogTag:Wed Feb 21 19:27:14 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/ace/Message_Queue_T.cpp')
-rw-r--r-- | ACE/ace/Message_Queue_T.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/ace/Message_Queue_T.cpp b/ACE/ace/Message_Queue_T.cpp index 4eabd618369..4c52157c4ba 100644 --- a/ACE/ace/Message_Queue_T.cpp +++ b/ACE/ace/Message_Queue_T.cpp @@ -1119,7 +1119,7 @@ ACE_Message_Queue<ACE_SYNCH_USE>::enqueue_tail_i (ACE_Message_Block *new_item) if (this->signal_dequeue_waiters () == -1) return -1; else - return ACE_Utils::Truncate<int> (this->cur_count_); + return ACE_Utils::truncate_cast<int> (this->cur_count_); } // Actually put the node(s) at the head (no locking) @@ -1163,7 +1163,7 @@ ACE_Message_Queue<ACE_SYNCH_USE>::enqueue_head_i (ACE_Message_Block *new_item) if (this->signal_dequeue_waiters () == -1) return -1; else - return ACE_Utils::Truncate<int> (this->cur_count_); + return ACE_Utils::truncate_cast<int> (this->cur_count_); } // Actually put the node at its proper position relative to its @@ -1234,7 +1234,7 @@ ACE_Message_Queue<ACE_SYNCH_USE>::enqueue_i (ACE_Message_Block *new_item) if (this->signal_dequeue_waiters () == -1) return -1; else - return ACE_Utils::Truncate<int> (this->cur_count_); + return ACE_Utils::truncate_cast<int> (this->cur_count_); } // Actually put the node at its proper position relative to its @@ -1350,7 +1350,7 @@ ACE_Message_Queue<ACE_SYNCH_USE>::dequeue_head_i (ACE_Message_Block *&first_item && this->signal_enqueue_waiters () == -1) return -1; else - return ACE_Utils::Truncate<int> (this->cur_count_); + return ACE_Utils::truncate_cast<int> (this->cur_count_); } // Get the earliest (i.e., FIFO) ACE_Message_Block with the lowest @@ -1426,7 +1426,7 @@ ACE_Message_Queue<ACE_SYNCH_USE>::dequeue_prio_i (ACE_Message_Block *&dequeued) && this->signal_enqueue_waiters () == -1) return -1; else - return ACE_Utils::Truncate<int> (this->cur_count_); + return ACE_Utils::truncate_cast<int> (this->cur_count_); } // Actually get the last ACE_Message_Block (no locking, so must be @@ -1475,7 +1475,7 @@ ACE_Message_Queue<ACE_SYNCH_USE>::dequeue_tail_i (ACE_Message_Block *&dequeued) && this->signal_enqueue_waiters () == -1) return -1; else - return ACE_Utils::Truncate<int> (this->cur_count_); + return ACE_Utils::truncate_cast<int> (this->cur_count_); } // Actually get the ACE_Message_Block with the lowest deadline time @@ -1571,7 +1571,7 @@ ACE_Message_Queue<ACE_SYNCH_USE>::peek_dequeue_head (ACE_Message_Block *&first_i return -1; first_item = this->head_; - return ACE_Utils::Truncate<int> (this->cur_count_); + return ACE_Utils::truncate_cast<int> (this->cur_count_); } template <ACE_SYNCH_DECL> int |