summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-25 07:09:23 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-25 07:09:23 +0000
commitb7754d0d33d9aaa89f2e311a691b8afce06d3147 (patch)
tree884312e31c56c4ef3bebd398de54d8fa3023bc10 /ace
parenteed2c0d2ce8b46de802953190c178ff9f71f4d27 (diff)
downloadATCD-b7754d0d33d9aaa89f2e311a691b8afce06d3147.tar.gz
ChangeLogTag:Tue Oct 24 23:14:55 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace')
-rw-r--r--ace/WFMO_Reactor.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/ace/WFMO_Reactor.cpp b/ace/WFMO_Reactor.cpp
index 43fffdcb476..c7284650d09 100644
--- a/ace/WFMO_Reactor.cpp
+++ b/ace/WFMO_Reactor.cpp
@@ -2324,7 +2324,10 @@ ACE_WFMO_Reactor_Notify::purge_pending_notifications (ACE_Event_Handler *eh)
size_t queue_size = this->message_queue_.message_count ();
int number_purged = 0;
- for (size_t index = 0; index < queue_size; ++index)
+
+ size_t index;
+
+ for (index = 0; index < queue_size; ++index)
{
ACE_Message_Block *mb;
if (-1 == this->message_queue_.dequeue_head (mb))
@@ -2404,7 +2407,7 @@ ACE_WFMO_Reactor::max_notify_iterations (void)
return this->notify_handler_->max_notify_iterations ();
}
-int
+int
ACE_WFMO_Reactor::purge_pending_notifications (ACE_Event_Handler *eh)
{
ACE_TRACE ("ACE_WFMO_Reactor::purge_pending_notifications");