diff options
author | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-17 00:54:52 +0000 |
---|---|---|
committer | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-17 00:54:52 +0000 |
commit | c5de0090f218283e1a0a05cbec7a662edfb9d62f (patch) | |
tree | f1f7fa19e836776b0b016ddddd7057b75310e970 /ace/POSIX_Proactor.h | |
parent | 650209472a8438e88cd16f8624564752be8f3478 (diff) | |
download | ATCD-c5de0090f218283e1a0a05cbec7a662edfb9d62f.tar.gz |
- Using ACE_dynamic_cast to get <ACE_POSIX_Asynch_Result *> from
<aiocb *> gives build errors on egcs. <ACE_reinterpret_cast> is not
the correct solution for this. Solved this problem by having one
more list of <ACE_POSIX_Asynch_Result *> so that we dont have to do
any casting.
Diffstat (limited to 'ace/POSIX_Proactor.h')
-rw-r--r-- | ace/POSIX_Proactor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ace/POSIX_Proactor.h b/ace/POSIX_Proactor.h index 45305a241e1..5b84bfcaa44 100644 --- a/ace/POSIX_Proactor.h +++ b/ace/POSIX_Proactor.h @@ -261,13 +261,16 @@ protected: ACE_AIOCB_Notify_Pipe_Manager* aiocb_notify_pipe_manager_; // This class takes care of doing <accept> when we use // AIO_CONTROL_BLOCKS strategy. - + aiocb *aiocb_list_ [ACE_RTSIG_MAX]; // Use an array to keep track of all the aio's issued // currently. We'll limit the array size to Maximum RT signals that // can be queued in a process. This is the upper limit how many aio // operations can be pending at a time. + ACE_POSIX_Asynch_Result *result_list_ [ACE_RTSIG_MAX]; + // @@ I am keeing an extra copy of the <aiocb_ + size_t aiocb_list_max_size_; // To maintain the maximum size of the array (list). |