summaryrefslogtreecommitdiff
path: root/ace/Asynch_IO.cpp
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-14 07:38:42 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-14 07:38:42 +0000
commit6668251ff2c06ef50fc1e3e6f88d5c4c09176904 (patch)
tree03eaa4389c16a6821855d4ee9350a0f1ebeef8a8 /ace/Asynch_IO.cpp
parent41048dfee726ec5d85ac8fe237cffbf1b7778e88 (diff)
downloadATCD-6668251ff2c06ef50fc1e3e6f88d5c4c09176904.tar.gz
Added additional parameter <int signal_number> to all the Asynchronos
Operation method so that we can specify which real-time signal should be used for each of the Asynchronous Operation. This only makes sense in the ACE_SIG_Proactor configuration.
Diffstat (limited to 'ace/Asynch_IO.cpp')
-rw-r--r--ace/Asynch_IO.cpp42
1 files changed, 30 insertions, 12 deletions
diff --git a/ace/Asynch_IO.cpp b/ace/Asynch_IO.cpp
index 8b35868b39d..9a87f63c893 100644
--- a/ace/Asynch_IO.cpp
+++ b/ace/Asynch_IO.cpp
@@ -73,6 +73,12 @@ ACE_Asynch_Result::priority (void) const
return this->implementation ()->priority ();
}
+int
+ACE_Asynch_Result::signal_number (void) const
+{
+ return this->implementation ()->signal_number ();
+}
+
ACE_Asynch_Result::ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation)
: implementation_ (implementation)
{
@@ -196,12 +202,14 @@ int
ACE_Asynch_Read_Stream::read (ACE_Message_Block &message_block,
u_long bytes_to_read,
const void *act,
- int priority)
+ int priority,
+ int signal_number)
{
return this->implementation ()->read (message_block,
bytes_to_read,
act,
- priority);
+ priority,
+ signal_number);
}
ACE_Asynch_Read_Stream_Impl *
@@ -300,12 +308,14 @@ int
ACE_Asynch_Write_Stream::write (ACE_Message_Block &message_block,
u_long bytes_to_write,
const void *act,
- int priority)
+ int priority,
+ int signal_number)
{
return this->implementation ()->write (message_block,
bytes_to_write,
act,
- priority);
+ priority,
+ signal_number);
}
ACE_Asynch_Write_Stream_Impl *
@@ -406,14 +416,16 @@ ACE_Asynch_Read_File::read (ACE_Message_Block &message_block,
u_long offset,
u_long offset_high,
const void *act,
- int priority)
+ int priority,
+ int signal_number)
{
return this->implementation ()->read (message_block,
bytes_to_read,
offset,
offset_high,
act,
- priority);
+ priority,
+ signal_number);
}
ACE_Asynch_Read_File_Impl *
@@ -496,14 +508,16 @@ ACE_Asynch_Write_File::write (ACE_Message_Block &message_block,
u_long offset,
u_long offset_high,
const void *act,
- int priority)
+ int priority,
+ int signal_number)
{
return this->implementation ()->write (message_block,
bytes_to_write,
offset,
offset_high,
act,
- priority);
+ priority,
+ signal_number);
}
ACE_Asynch_Write_File_Impl *
@@ -585,13 +599,15 @@ ACE_Asynch_Accept::accept (ACE_Message_Block &message_block,
u_long bytes_to_read,
ACE_HANDLE accept_handle,
const void *act,
- int priority)
+ int priority,
+ int signal_number)
{
return this->implementation ()->accept (message_block,
bytes_to_read,
accept_handle,
act,
- priority);
+ priority,
+ signal_number);
}
ACE_Asynch_Accept_Impl *
@@ -700,7 +716,8 @@ ACE_Asynch_Transmit_File::transmit_file (ACE_HANDLE file,
u_long bytes_per_send,
u_long flags,
const void *act,
- int priority)
+ int priority,
+ int signal_number)
{
return this->implementation ()->transmit_file (file,
header_and_trailer,
@@ -710,7 +727,8 @@ ACE_Asynch_Transmit_File::transmit_file (ACE_HANDLE file,
bytes_per_send,
flags,
act,
- priority);
+ priority,
+ signal_number);
}
ACE_Asynch_Transmit_File_Impl *