diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-07-19 21:48:48 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-07-19 21:48:48 +0000 |
commit | bc2341ab5045389bb63d715f30d66c38842fc6e9 (patch) | |
tree | 71cb6a2aed56928593bf8fa272f0f47748d646dd /ace/WFMO_Reactor.cpp | |
parent | 8852aaf3ed1837ec60e2a75008cc1b7d4e16d883 (diff) | |
download | ATCD-bc2341ab5045389bb63d715f30d66c38842fc6e9.tar.gz |
ChangeLogTag: Mon Jul 19 17:40:15 2004 Irfan Pyarali <irfan@oomworks.com>
Diffstat (limited to 'ace/WFMO_Reactor.cpp')
-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 060f3cd1b49..7ec38b8da2b 100644 --- a/ace/WFMO_Reactor.cpp +++ b/ace/WFMO_Reactor.cpp @@ -640,8 +640,11 @@ ACE_WFMO_Reactor_Handler_Repository::bind_i (int io_entry, this->handles_to_be_deleted_ + this->suspended_handles_; - // Make sure that there's room in the table. - if (current_size < this->max_size_) + // Make sure that there's room in the table and that total pending + // additions should not exceed what the <to_be_added_info_> array + // can hold. + if (current_size < this->max_size_ && + this->handles_to_be_added_ < this->max_size_) { // Cache this set into the <to_be_added_info_>, till we come // around to actually adding this to the <current_info_> |