summaryrefslogtreecommitdiff
path: root/ChangeLogs
diff options
context:
space:
mode:
authorjwh1 <jwh1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-03 05:25:02 +0000
committerjwh1 <jwh1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-03 05:25:02 +0000
commit7874dd20af863bd58f83fcc1e1d4813ea0e341fe (patch)
tree57b01322438540dbd7138365b1fbfe07c83cd207 /ChangeLogs
parent5092e768a0d58ec0c960a908ec223e414b36386c (diff)
downloadATCD-7874dd20af863bd58f83fcc1e1d4813ea0e341fe.tar.gz
Mon Jul 3 00:22:57 2000 John Heitmann <jwh1@cs.wustl.edu>
Diffstat (limited to 'ChangeLogs')
-rw-r--r--ChangeLogs/ChangeLog-02a68
-rw-r--r--ChangeLogs/ChangeLog-03a68
2 files changed, 74 insertions, 62 deletions
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 4379259136b..5127e97d1f6 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,9 @@
+Mon Jul 3 00:22:57 2000 John Heitmann <jwh1@cs.wustl.edu>
+
+ * ace/OS.{cpp,h}:
+ Made changes to support changes made to PACE. All
+ changes occured inside #ifdef ACE_HAS_PACE.
+
Sun Jul 2 17:38:25 2000 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
* ace/POSIX_Proactor.cpp,
@@ -8,14 +14,14 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
* ace/SUN_Proactor: Added new files that specialize the
POSIX_Proactor to use the Sun-specific versions of aioread() and
- aiowrite(), which are much faster than the POSIX versions.
-
+ aiowrite(), which are much faster than the POSIX versions.
+
* ace/POSIX_Proactor: Added public virtual method ProactorType get_impl_type ()
- where enum ProactorType {
+ where enum ProactorType {
PROACTOR_POSIX, // base class type
PROACTOR_AIOCB,
PROACTOR_SIG ,
- PROACTOR_SUN
+ PROACTOR_SUN
};
This has been done with purpose not to develop additional
@@ -30,8 +36,8 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
ACE_RTSIG_MAX ( usually 8 ) is too small for real job.
- Also added proctected constructor
-
+ Also added proctected constructor
+
ACE_POSIX_AIOCB_Proactor ( size_t nMaxOp , int Flg);
This constructor is used by ACE_SUN_Proactor. The difference
@@ -41,16 +47,16 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
instance when the virtual table for derived class is biult.
Added protected method:
-
+
void create_notify_manager () ;
The method is called from public ACE_POSIX_AIOCB_Proactor
- constructor and ACE_SUN_Proactor constructor
+ constructor and ACE_SUN_Proactor constructor
ACE_AIOCB_Notify_Pipe_Manager should be created after
building the virtual table for the final subclass.
Added protected method:
-
+
void delete_notify_manager () ;
The method is called from ACE_POSIX_AIOCB_Proactor and
@@ -58,17 +64,17 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
as it deletes ACE_AIOCB_Notify_Pipe_Manager and sets pointer to
zero.
- Replaced the protected method
-
+ Replaced the protected method
+
int register_aio_with_proactor (ACE_POSIX_Asynch_Result *result)
-
+
with two protected following methods:
virtual int register_and_start_aio( ACE_POSIX_Asynch_Result *result,
- int Op );
- virtual int start_aio (ACE_POSIX_Asynch_Result *result, int Op );
+ int Op );
+ virtual int start_aio (ACE_POSIX_Asynch_Result *result, int Op );
- where Op means : 0-read, 1- write
+ where Op means : 0-read, 1- write
These methods are made both as virtual to overwrite in
ACE_SUN_Proactor. register_and_start_aio shoud be called
@@ -77,20 +83,20 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
Added protected method to find and extract the results of the
completed aio operation:
-
+
ACE_POSIX_Asynch_Result * find_completed_aio (int & error_status,
int & return_status );
-
+
This method is called from int handle_events (unsigned long milli_seconds)
and locks access to aiocb lists.
Replace the following members :
-
+
aiocb *aiocb_list_ [ACE_RTSIG_MAX];
ACE_POSIX_Asynch_Result *result_list_ [ACE_RTSIG_MAX];
with
-
+
aiocb ** m_pAIOCB_list_ ;
ACE_POSIX_Asynch_Result ** m_pResult_list_ ;
@@ -99,20 +105,20 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
Added thread mutex to protect the work with lists.
ACE_Thread_Mutex m_MtxAIOCB ;
- * ace/POSIX_AIOCB_Asynch_Operation: The method
-
+ * ace/POSIX_AIOCB_Asynch_Operation: The method
+
int register_aio_with_proactor (ACE_POSIX_Asynch_Result *result);
-
+
is replaced by
int register_and_start_aio (ACE_POSIX_Asynch_Result *result,int Op);
-
- where Op means operation : 0 - read , 1 - write
- The method
-
+ where Op means operation : 0 - read , 1 - write
+
+ The method
+
int cancel (void);
-
+
is modified according to the type of Proactor's implementation.
The following methods are changed as shown below:
@@ -121,16 +127,16 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
(ACE_POSIX_Asynch_Read_Stream_Result *result)
{
result->aio_sigevent.sigev_notify = SIGEV_NONE;
- return register_and_start_aio ( result , 0 ) ; // read
+ return register_and_start_aio ( result , 0 ) ; // read
}
-
+
and
- int ACE_POSIX_AIOCB_Asynch_Read_Stream::shared_write
+ int ACE_POSIX_AIOCB_Asynch_Read_Stream::shared_write
(ACE_POSIX_Asynch_Read_Stream_Result *result)
{
result->aio_sigevent.sigev_notify = SIGEV_NONE;
- return register_and_start_aio ( result , 1 ) ; //write
+ return register_and_start_aio ( result , 1 ) ; //write
}
Sat Jul 01 11:46:23 2000 David L. Levine <levine@cs.wustl.edu>
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 4379259136b..5127e97d1f6 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,9 @@
+Mon Jul 3 00:22:57 2000 John Heitmann <jwh1@cs.wustl.edu>
+
+ * ace/OS.{cpp,h}:
+ Made changes to support changes made to PACE. All
+ changes occured inside #ifdef ACE_HAS_PACE.
+
Sun Jul 2 17:38:25 2000 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
* ace/POSIX_Proactor.cpp,
@@ -8,14 +14,14 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
* ace/SUN_Proactor: Added new files that specialize the
POSIX_Proactor to use the Sun-specific versions of aioread() and
- aiowrite(), which are much faster than the POSIX versions.
-
+ aiowrite(), which are much faster than the POSIX versions.
+
* ace/POSIX_Proactor: Added public virtual method ProactorType get_impl_type ()
- where enum ProactorType {
+ where enum ProactorType {
PROACTOR_POSIX, // base class type
PROACTOR_AIOCB,
PROACTOR_SIG ,
- PROACTOR_SUN
+ PROACTOR_SUN
};
This has been done with purpose not to develop additional
@@ -30,8 +36,8 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
ACE_RTSIG_MAX ( usually 8 ) is too small for real job.
- Also added proctected constructor
-
+ Also added proctected constructor
+
ACE_POSIX_AIOCB_Proactor ( size_t nMaxOp , int Flg);
This constructor is used by ACE_SUN_Proactor. The difference
@@ -41,16 +47,16 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
instance when the virtual table for derived class is biult.
Added protected method:
-
+
void create_notify_manager () ;
The method is called from public ACE_POSIX_AIOCB_Proactor
- constructor and ACE_SUN_Proactor constructor
+ constructor and ACE_SUN_Proactor constructor
ACE_AIOCB_Notify_Pipe_Manager should be created after
building the virtual table for the final subclass.
Added protected method:
-
+
void delete_notify_manager () ;
The method is called from ACE_POSIX_AIOCB_Proactor and
@@ -58,17 +64,17 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
as it deletes ACE_AIOCB_Notify_Pipe_Manager and sets pointer to
zero.
- Replaced the protected method
-
+ Replaced the protected method
+
int register_aio_with_proactor (ACE_POSIX_Asynch_Result *result)
-
+
with two protected following methods:
virtual int register_and_start_aio( ACE_POSIX_Asynch_Result *result,
- int Op );
- virtual int start_aio (ACE_POSIX_Asynch_Result *result, int Op );
+ int Op );
+ virtual int start_aio (ACE_POSIX_Asynch_Result *result, int Op );
- where Op means : 0-read, 1- write
+ where Op means : 0-read, 1- write
These methods are made both as virtual to overwrite in
ACE_SUN_Proactor. register_and_start_aio shoud be called
@@ -77,20 +83,20 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
Added protected method to find and extract the results of the
completed aio operation:
-
+
ACE_POSIX_Asynch_Result * find_completed_aio (int & error_status,
int & return_status );
-
+
This method is called from int handle_events (unsigned long milli_seconds)
and locks access to aiocb lists.
Replace the following members :
-
+
aiocb *aiocb_list_ [ACE_RTSIG_MAX];
ACE_POSIX_Asynch_Result *result_list_ [ACE_RTSIG_MAX];
with
-
+
aiocb ** m_pAIOCB_list_ ;
ACE_POSIX_Asynch_Result ** m_pResult_list_ ;
@@ -99,20 +105,20 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
Added thread mutex to protect the work with lists.
ACE_Thread_Mutex m_MtxAIOCB ;
- * ace/POSIX_AIOCB_Asynch_Operation: The method
-
+ * ace/POSIX_AIOCB_Asynch_Operation: The method
+
int register_aio_with_proactor (ACE_POSIX_Asynch_Result *result);
-
+
is replaced by
int register_and_start_aio (ACE_POSIX_Asynch_Result *result,int Op);
-
- where Op means operation : 0 - read , 1 - write
- The method
-
+ where Op means operation : 0 - read , 1 - write
+
+ The method
+
int cancel (void);
-
+
is modified according to the type of Proactor's implementation.
The following methods are changed as shown below:
@@ -121,16 +127,16 @@ Sat Jul 1 11:33:45 2000 Alex Libman <alibman@baltimore.com>
(ACE_POSIX_Asynch_Read_Stream_Result *result)
{
result->aio_sigevent.sigev_notify = SIGEV_NONE;
- return register_and_start_aio ( result , 0 ) ; // read
+ return register_and_start_aio ( result , 0 ) ; // read
}
-
+
and
- int ACE_POSIX_AIOCB_Asynch_Read_Stream::shared_write
+ int ACE_POSIX_AIOCB_Asynch_Read_Stream::shared_write
(ACE_POSIX_Asynch_Read_Stream_Result *result)
{
result->aio_sigevent.sigev_notify = SIGEV_NONE;
- return register_and_start_aio ( result , 1 ) ; //write
+ return register_and_start_aio ( result , 1 ) ; //write
}
Sat Jul 01 11:46:23 2000 David L. Levine <levine@cs.wustl.edu>