diff options
Diffstat (limited to 'ACE/m4/aio.m4')
-rw-r--r-- | ACE/m4/aio.m4 | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ACE/m4/aio.m4 b/ACE/m4/aio.m4 index aaa5622dd33..b8248c6d24c 100644 --- a/ACE/m4/aio.m4 +++ b/ACE/m4/aio.m4 @@ -64,7 +64,7 @@ if test "$ace_has_aio_funcs" = yes; then #include <string.h> #include <errno.h> #include <stdio.h> -#include <iostream.h> +#include <iostream> #include <aio.h> @@ -138,7 +138,6 @@ Test_Aio::init (void) // Init the buffers. this->buffer_write_ = new char [sizeof (message) + 1]; strcpy (this->buffer_write_, message); - // cout << "The buffer : " << this->buffer_write_ << endl; this->buffer_read_ = new char [sizeof (message) + 1]; return 0; @@ -220,8 +219,6 @@ Test_Aio::do_aio (void) list_aiocb [0] = 0; } } -// else -// cout << "AIO in progress" << endl; if (list_aiocb [1] != 0 && aio_error (list_aiocb [1]) != EINPROGRESS) { @@ -238,17 +235,12 @@ Test_Aio::do_aio (void) list_aiocb [1] = 0; } } -// else -// cout << "AIO in progress" << endl; // Is it done? if ((list_aiocb [0] == 0) && (list_aiocb [1] == 0)) done = 1; } - //cout << "Both the AIO operations done." << endl; - //cout << "The buffer is :" << this->buffer_read_ << endl; - return 0; } |