summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-10 23:06:25 +0000
committerjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-10 23:06:25 +0000
commit3db0d86a9341a3708a4e7fab5c4d1abbdc8dd2c9 (patch)
tree348bddcccf7dd5140b14cb760e01986d5777a21a /apps
parenta4c3f92ea216a37dedd20a423ae059952e24b20c (diff)
downloadATCD-3db0d86a9341a3708a4e7fab5c4d1abbdc8dd2c9.tar.gz
Typos corrected.
Diffstat (limited to 'apps')
-rw-r--r--apps/JAWS/server/HTTP_Server.cpp12
-rw-r--r--apps/JAWS/server/HTTP_Server.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/apps/JAWS/server/HTTP_Server.cpp b/apps/JAWS/server/HTTP_Server.cpp
index c525737c1e3..4faa6110823 100644
--- a/apps/JAWS/server/HTTP_Server.cpp
+++ b/apps/JAWS/server/HTTP_Server.cpp
@@ -8,7 +8,7 @@
#include "HTTP_Server.h"
// class is overkill
-class HTTP_Server_Anchor
+class JAWS
{
public:
enum
@@ -55,15 +55,15 @@ HTTP_Server::parse_args (int argc,
// PER_REQUEST -> thread per request
// THROTTLE -> thread per request with throttling
if (ACE_OS::strcmp (get_opt.optarg, "POOL") == 0)
- thr_strategy = HTTP_Server_Anchor::POOL;
+ thr_strategy = JAWS::POOL;
else if (ACE_OS::strcmp (get_opt.optarg, "PER_REQUEST") == 0)
{
- thr_strategy = HTTP_Server_Anchor::PER_REQUEST;
+ thr_strategy = JAWS::PER_REQUEST;
this->throttle_ = 0;
}
else if (ACE_OS::strcmp (get_opt.optarg, "THROTTLE") == 0)
{
- thr_strategy = HTTP_Server_Anchor::PER_REQUEST;
+ thr_strategy = JAWS::PER_REQUEST;
this->throttle_ = 1;
}
break;
@@ -82,9 +82,9 @@ HTTP_Server::parse_args (int argc,
// SYNCH -> synchronous I/O
// ASYNCH -> asynchronous I/O
if (ACE_OS::strcmp (get_opt.optarg, "SYNCH") == 0)
- io_strategy = HTTP_Server_Anchor::SYNCH;
+ io_strategy = JAWS::SYNCH;
else if (ACE_OS::strcmp (get_opt.optarg, "ASYNCH") == 0)
- io_strategy = HTTP_Server_Anchor::ASYNCH;
+ io_strategy = JAWS::ASYNCH;
break;
case 'b':
this->backlog_ = ACE_OS::atoi (get_opt.optarg);
diff --git a/apps/JAWS/server/HTTP_Server.h b/apps/JAWS/server/HTTP_Server.h
index 30241be77c9..5e6f67d45fc 100644
--- a/apps/JAWS/server/HTTP_Server.h
+++ b/apps/JAWS/server/HTTP_Server.h
@@ -102,7 +102,7 @@ class Thread_Per_Request_Task : public ACE_Task<ACE_NULL_SYNCH>
{
public:
Thread_Per_Request_Task (ACE_HANDLE handle,
- ACE_Thread_Manager &tm
+ ACE_Thread_Manager &tm,
int &grp_id);
virtual int open (void *args = 0);
virtual int close (u_long);