diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-08-08 14:24:31 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-08-08 14:24:31 +0000 |
commit | bf799f935b21885f8491db15dda0f49c6b8818c7 (patch) | |
tree | 209213071136768c4dbf03b15555104b4b3d9a22 /ace/ACE.cpp | |
parent | ae71a6261d23205d926b46d7ec62e3bbc8369555 (diff) | |
download | ATCD-bf799f935b21885f8491db15dda0f49c6b8818c7.tar.gz |
ChangeLogTag:Wed Aug 8 06:21:24 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r-- | ace/ACE.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp index f026ba8ec28..0e351575fcc 100644 --- a/ace/ACE.cpp +++ b/ace/ACE.cpp @@ -1273,7 +1273,7 @@ ACE::recv_n (ACE_HANDLE handle, size_t &bytes_transferred = bt == 0 ? temp : *bt; bytes_transferred = 0; - iovec iov[IOV_MAX]; + iovec iov[ACE_IOV_MAX]; int iovcnt = 0; while (message_block != 0) @@ -1297,10 +1297,10 @@ ACE::recv_n (ACE_HANDLE handle, iovcnt++; // The buffer is full make a OS call. @@ TODO find a way to - // find IOV_MAX for platforms that do not define it rather - // than simply setting IOV_MAX to some arbitrary value such + // find ACE_IOV_MAX for platforms that do not define it rather + // than simply setting ACE_IOV_MAX to some arbitrary value such // as 16. - if (iovcnt == IOV_MAX) + if (iovcnt == ACE_IOV_MAX) { size_t current_transfer = 0; @@ -1331,7 +1331,7 @@ ACE::recv_n (ACE_HANDLE handle, } // Check for remaining buffers to be sent. This will happen when - // IOV_MAX is not a multiple of the number of message blocks. + // ACE_IOV_MAX is not a multiple of the number of message blocks. if (iovcnt != 0) { size_t current_transfer = 0; @@ -2077,7 +2077,7 @@ ACE::send_n (ACE_HANDLE handle, size_t &bytes_transferred = bt == 0 ? temp : *bt; bytes_transferred = 0; - iovec iov[IOV_MAX]; + iovec iov[ACE_IOV_MAX]; int iovcnt = 0; while (message_block != 0) @@ -2101,10 +2101,10 @@ ACE::send_n (ACE_HANDLE handle, iovcnt++; // The buffer is full make a OS call. @@ TODO find a way to - // find IOV_MAX for platforms that do not define it rather - // than simply setting IOV_MAX to some arbitrary value such + // find ACE_IOV_MAX for platforms that do not define it rather + // than simply setting ACE_IOV_MAX to some arbitrary value such // as 16. - if (iovcnt == IOV_MAX) + if (iovcnt == ACE_IOV_MAX) { size_t current_transfer = 0; @@ -2135,7 +2135,7 @@ ACE::send_n (ACE_HANDLE handle, } // Check for remaining buffers to be sent. This will happen when - // IOV_MAX is not a multiple of the number of message blocks. + // ACE_IOV_MAX is not a multiple of the number of message blocks. if (iovcnt != 0) { size_t current_transfer = 0; |