diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-25 07:09:23 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-25 07:09:23 +0000 |
commit | 5a2826e9969291c5132cc6286b1435c05bcb87ef (patch) | |
tree | 884312e31c56c4ef3bebd398de54d8fa3023bc10 /ace | |
parent | 8078782ed4e41ee3f06bf2eba42ce6b96d7a0618 (diff) | |
download | ATCD-5a2826e9969291c5132cc6286b1435c05bcb87ef.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.cpp | 7 |
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"); |