diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-30 18:13:57 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-30 18:13:57 +0000 |
commit | 7bbd275f4e29ccb4c3f3babaa1d06c5ab1002658 (patch) | |
tree | df844ccf82ec7463a0ca7d809abe839a739b0345 /ace/WFMO_Reactor.cpp | |
parent | 4033f2f51368f0f7b804428614eb34c79423da20 (diff) | |
download | ATCD-7bbd275f4e29ccb4c3f3babaa1d06c5ab1002658.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/WFMO_Reactor.cpp')
-rw-r--r-- | ace/WFMO_Reactor.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/WFMO_Reactor.cpp b/ace/WFMO_Reactor.cpp index 4260c99042e..683ef464219 100644 --- a/ace/WFMO_Reactor.cpp +++ b/ace/WFMO_Reactor.cpp @@ -24,6 +24,13 @@ ACE_WFMO_Reactor_Handler_Repository::ACE_WFMO_Reactor_Handler_Repository (ACE_WF int ACE_WFMO_Reactor_Handler_Repository::open (size_t size) { + if (size > MAXIMUM_WAIT_OBJECTS) + ACE_ERROR_RETURN ((LM_ERROR, + ASYS_TEXT ("%d exceeds MAXIMUM_WAIT_OBJECTS (%d)\n"), + size, + MAXIMUM_WAIT_OBJECTS), + -1); + // Dynamic allocation ACE_NEW_RETURN (this->current_handles_, ACE_HANDLE[size], |