diff options
author | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-01 21:56:44 +0000 |
---|---|---|
committer | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-01 21:56:44 +0000 |
commit | 241c2c7114d04aa01641f31a8274bed4811c1e53 (patch) | |
tree | d59c900d62f1bb5dd637981f06d54f6a91e42d8e /ace/POSIX_Proactor.h | |
parent | 36bed04fb0776726fd7e88613e9387fea4a84128 (diff) | |
download | ATCD-241c2c7114d04aa01641f31a8274bed4811c1e53.tar.gz |
Tue Jun 1 16:48:58 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
Diffstat (limited to 'ace/POSIX_Proactor.h')
-rw-r--r-- | ace/POSIX_Proactor.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ace/POSIX_Proactor.h b/ace/POSIX_Proactor.h index ee3b4af9c01..5308a582550 100644 --- a/ace/POSIX_Proactor.h +++ b/ace/POSIX_Proactor.h @@ -71,18 +71,17 @@ public: // user once this method is called. int wake_up_dispatch_threads (void); - // Add wakeup dispatch threads (reinit). + // @@ This is a no-op on POSIX platforms. Returns 0. int close_dispatch_threads (int wait); - // Close all dispatch threads. + // @@ This is a no-op on POSIX platforms. Returns 0. size_t number_of_threads (void) const; void number_of_threads (size_t threads); - // Number of thread used as a parameter to CreatIoCompletionPort. + // @@ This is a no-op on POSIX platforms. Returns 0. virtual ACE_HANDLE get_handle (void) const; - // Get the event handle. This is a no-op in POSIX. Returns - // ACE_INVALID_HANDLE. + // This is a no-op in POSIX. Returns ACE_INVALID_HANDLE. // Methods used to create Asynch_IO_Result objects. We create the right // objects here in these methods. @@ -235,7 +234,7 @@ public: // Post a result to the completion port of the Proactor. // = Methods used to create Asynch_IO objects. We create the right - // objects here in these methods. + // objects here in these methods. virtual ACE_Asynch_Read_Stream_Impl *create_asynch_read_stream (void); @@ -279,7 +278,9 @@ protected: // 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_ + // @@ Keeping an extra copy of the <aiocb_list> here so that we can + // avoid dynamic cast when we use the result object calling back + // the hook methods. size_t aiocb_list_max_size_; // To maintain the maximum size of the array (list). |