summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-02-13 00:24:34 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-02-13 00:24:34 +0000
commit22060c23e4505e1373e4b6cf252a0bd1fc33b940 (patch)
tree41a6b36c24a266a6fab622ca6dd31b3d647f1cc6
parentb15e00bc852e88eaf0c18462a49893802f3ea28a (diff)
downloadATCD-22060c23e4505e1373e4b6cf252a0bd1fc33b940.tar.gz
ChangeLogTag:Tue Feb 12 16:18:59 2002 Ossama Othman <ossama@uci.edu>
-rw-r--r--ChangeLog8
-rw-r--r--ChangeLogs/ChangeLog-02a8
-rw-r--r--ChangeLogs/ChangeLog-03a8
-rw-r--r--tests/Proactor_Test.cpp2
-rw-r--r--tests/TP_Reactor_Test.cpp19
5 files changed, 32 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 08696107d2a..6e5af42b7fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Tue Feb 12 16:18:59 2002 Ossama Othman <ossama@uci.edu>
+
+ * tests/Proactor_Test.cpp (logflag):
+ * tests/TP_Reactor_Test.cpp (logflag):
+
+ Removed these unused global variables. Fixes an unused variable
+ warning.
+
Tue Feb 12 11:50:18 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/pippen.pl: Applied a patch from "the source" to fix a
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 08696107d2a..6e5af42b7fa 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,11 @@
+Tue Feb 12 16:18:59 2002 Ossama Othman <ossama@uci.edu>
+
+ * tests/Proactor_Test.cpp (logflag):
+ * tests/TP_Reactor_Test.cpp (logflag):
+
+ Removed these unused global variables. Fixes an unused variable
+ warning.
+
Tue Feb 12 11:50:18 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/pippen.pl: Applied a patch from "the source" to fix a
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 08696107d2a..6e5af42b7fa 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,11 @@
+Tue Feb 12 16:18:59 2002 Ossama Othman <ossama@uci.edu>
+
+ * tests/Proactor_Test.cpp (logflag):
+ * tests/TP_Reactor_Test.cpp (logflag):
+
+ Removed these unused global variables. Fixes an unused variable
+ warning.
+
Tue Feb 12 11:50:18 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/pippen.pl: Applied a patch from "the source" to fix a
diff --git a/tests/Proactor_Test.cpp b/tests/Proactor_Test.cpp
index 1cccb31f8fb..6f656808da4 100644
--- a/tests/Proactor_Test.cpp
+++ b/tests/Proactor_Test.cpp
@@ -83,7 +83,6 @@ static size_t threads = 1;
static u_short port = ACE_DEFAULT_SERVER_PORT;
// Log options
-static int logflag = 0; // 0 STDERR, 1 FILE
static int loglevel = 0; // 0 full , 1 only errors
static const size_t MIN_TIME = 1; // min 1 sec
@@ -1187,7 +1186,6 @@ parse_args (int argc, ACE_TCHAR *argv[])
#endif
threads = 3; // size of Proactor thread pool
senders = 20; // number of senders
- logflag = 1; // log to : 0 STDERR / 1 FILE
loglevel = 0; // log level : 0 full/ 1 only errors
seconds = 2; // time to run in seconds
return 0;
diff --git a/tests/TP_Reactor_Test.cpp b/tests/TP_Reactor_Test.cpp
index 8247554f917..37ef94cd036 100644
--- a/tests/TP_Reactor_Test.cpp
+++ b/tests/TP_Reactor_Test.cpp
@@ -10,19 +10,19 @@
//
// = DESCRIPTION
// This program illustrates how the <ACE_TP_Reactor> can be used to
-// implement an application that does various operations.
+// implement an application that does various operations.
// usage: TP_Reactor_Test
// -n number threads in the TP_Reactor thread pool
// -d duplex mode 1 (full-duplex) vs. 0 (half-duplex)
-// -p port to listen(Server)/connect(Client)
-// -h host to connect (Client mode)
+// -p port to listen(Server)/connect(Client)
+// -h host to connect (Client mode)
// -s number of sender's instances ( Client mode)
// -b run client and server (both modes ) at the same time
-// -v log level
-// 0 - log all messages
+// -v log level
+// 0 - log all messages
// 1 - log only errors and unusual cases
-// -i time to run in seconds
-// -u show this message
+// -i time to run in seconds
+// -u show this message
//
// The main differences between Thread_Pool_Reactor_Test.cpp and
// this test are:
@@ -41,7 +41,7 @@
// thread pool is shared between client and server.
//
// This test is a "twin" of the Proactor_Test.cpp, so it can help for
-// developers to provide independent of Reactor/Proactor solutions.
+// developers to provide independent of Reactor/Proactor solutions.
//
// = AUTHOR
// Alexander Libman <alibman@ihug.com.au>,<alexl@rumblgroup.com>
@@ -93,7 +93,6 @@ static size_t threads = 1;
static u_short port = ACE_DEFAULT_SERVER_PORT;
// Log options
-static int logflag = 0; // 0 STDERR, 1 FILE
static int loglevel = 0; // 0 full , 1 only errors
static const size_t MIN_TIME = 1; // min 1 sec
@@ -1097,7 +1096,6 @@ parse_args (int argc, ACE_TCHAR *argv[])
port = ACE_DEFAULT_SERVER_PORT; // port to connect/listen
threads = 3; // size of Proactor thread pool
senders = 20; // number of senders
- logflag = 1 ; // log to : 0 STDERR / 1 FILE
loglevel = 0; // log level : 0 full/ 1 only errors
seconds = 2; // time to run in seconds
return 0;
@@ -1256,4 +1254,3 @@ template class ACE_Svc_Handler<ACE_SOCK_STREAM,ACE_MT_SYNCH>;
#pragma instantiate ACE_Svc_Handler<ACE_SOCK_STREAM,ACE_MT_SYNCH>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-