diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-05-03 14:22:39 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-05-03 14:22:39 +0000 |
commit | 58a97af7de90e51f7d16124ad87a31a47898da3d (patch) | |
tree | 1ddbf05c4b4c8d477449d2c6649d9523fa194130 | |
parent | c2c42a6c79decb5971363adb738f69ae6c8ab24c (diff) | |
download | ATCD-58a97af7de90e51f7d16124ad87a31a47898da3d.tar.gz |
ChangeLogTag:Fri May 3 07:21:20 2002 Ossama Othman <ossama@uci.edu>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 7 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 7 | ||||
-rw-r--r-- | tests/Dev_Poll_Reactor_Test.cpp | 17 |
4 files changed, 23 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog index a98355bbeb5..c79f0ac7e58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Fri May 3 07:21:20 2002 Ossama Othman <ossama@uci.edu> + + * tests/Dev_Poll_Reactor_Test.cpp: + + Uncommented ACE_START/END_TEST macros and removed extraneous + debugging statements. + Fri May 3 08:00:55 2002 Chad Elliott <elliott_c@ociweb.com> * docs/tutorials/012/work.h: diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index a98355bbeb5..c79f0ac7e58 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,10 @@ +Fri May 3 07:21:20 2002 Ossama Othman <ossama@uci.edu> + + * tests/Dev_Poll_Reactor_Test.cpp: + + Uncommented ACE_START/END_TEST macros and removed extraneous + debugging statements. + Fri May 3 08:00:55 2002 Chad Elliott <elliott_c@ociweb.com> * docs/tutorials/012/work.h: diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index a98355bbeb5..c79f0ac7e58 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,10 @@ +Fri May 3 07:21:20 2002 Ossama Othman <ossama@uci.edu> + + * tests/Dev_Poll_Reactor_Test.cpp: + + Uncommented ACE_START/END_TEST macros and removed extraneous + debugging statements. + Fri May 3 08:00:55 2002 Chad Elliott <elliott_c@ociweb.com> * docs/tutorials/012/work.h: diff --git a/tests/Dev_Poll_Reactor_Test.cpp b/tests/Dev_Poll_Reactor_Test.cpp index 4670a275657..427695b672b 100644 --- a/tests/Dev_Poll_Reactor_Test.cpp +++ b/tests/Dev_Poll_Reactor_Test.cpp @@ -197,12 +197,8 @@ Server::Server (void) int Server::handle_input (ACE_HANDLE /* handle */) { -// ACE_DEBUG ((LM_DEBUG, "GOT EVENT FOR HANDLE %d\n", handle)); - char buffer[BUFSIZ] = { 0 }; - ACE_DEBUG ((LM_DEBUG, "BUFFER SIZE = %d\n", BUFSIZ)); - ssize_t bytes_read = 0; for (char * buf = buffer; buf < buffer + BUFSIZ; buf += bytes_read) @@ -222,10 +218,8 @@ Server::handle_input (ACE_HANDLE /* handle */) if (bytes_read == -1) { - ACE_DEBUG ((LM_DEBUG, "%p\n", "ERROR WAS")); if (errno == EWOULDBLOCK) { - ACE_DEBUG ((LM_DEBUG, "GOT EWOULDBLOCK\n")); // ACE_HEX_DUMP ((LM_DEBUG, // buf, @@ -491,7 +485,7 @@ server_worker (void *p) int main (int, char *[]) { -// ACE_START_TEST (ACE_TEXT ("Dev_Poll_Reactor_Test")); + ACE_START_TEST (ACE_TEXT ("Dev_Poll_Reactor_Test")); ACE_Dev_Poll_Reactor dp_reactor; ACE_Reactor reactor (&dp_reactor); @@ -523,12 +517,6 @@ main (int, char *[]) ACE_TEXT ("Unable to spawn server thread")), -1); -// if (cv.wait () != 0) -// ACE_ERROR_RETURN ((LM_ERROR, -// ACE_TEXT ("%p\n"), -// ACE_TEXT ("Error waiting on condition variable")), -// -1); - ACE_OS::sleep (5); // Wait for the listening endpoint to be set up. ACE_INET_Addr addr; @@ -558,7 +546,7 @@ main (int, char *[]) ACE_TEXT ("Error waiting for threads to complete")), -1); -// ACE_END_TEST; + ACE_END_TEST; return 0; } @@ -604,7 +592,6 @@ template class ACE_Map_Iterator<ACE_HANDLE, ACE_Svc_Tuple<Client> *, ACE_SYNCH_R #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - #else int |