diff options
author | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-01 17:23:42 +0000 |
---|---|---|
committer | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-01 17:23:42 +0000 |
commit | bbf127d0df2f8106d2e0f6259e79086cf9f67cbc (patch) | |
tree | 7ccb8a946ba67f0145e6ba086043893a90ba4bf2 /apps/JAWS/PROTOTYPE/JAWS/Server.cpp | |
parent | 79193cde97c7bb51e3f6a833bbecb6d791fcff86 (diff) | |
download | ATCD-bbf127d0df2f8106d2e0f6259e79086cf9f67cbc.tar.gz |
Purified synchronous version of JAWS.
Diffstat (limited to 'apps/JAWS/PROTOTYPE/JAWS/Server.cpp')
-rw-r--r-- | apps/JAWS/PROTOTYPE/JAWS/Server.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/JAWS/PROTOTYPE/JAWS/Server.cpp b/apps/JAWS/PROTOTYPE/JAWS/Server.cpp index 04a88a9e0dd..cfd52c32ec5 100644 --- a/apps/JAWS/PROTOTYPE/JAWS/Server.cpp +++ b/apps/JAWS/PROTOTYPE/JAWS/Server.cpp @@ -47,13 +47,13 @@ JAWS_Server::init (int argc, char *argv[]) if (this->concurrency_ == 1) { - JAWS_Thread_Per_Singleton::instance ()->open (this->flags_, + JAWS_Thread_Per_Singleton::instance ()->make (this->flags_, this->maxthreads_); this->policy_.concurrency (JAWS_Thread_Per_Singleton::instance ()); } else { - JAWS_Thread_Pool_Singleton::instance ()->open (this->flags_, + JAWS_Thread_Pool_Singleton::instance ()->make (this->flags_, this->nthreads_, this->maxthreads_); this->policy_.concurrency (JAWS_Thread_Pool_Singleton::instance ()); @@ -111,13 +111,6 @@ JAWS_Server::open (JAWS_Pipeline_Handler *protocol, policy->concurrency ()->put (db); - char buf[265]; - do - ACE_OS::fprintf (stderr, "%s", "hello: "); - while (ACE_OS::fgets (buf, sizeof (buf), stdin) != NULL); - - ACE_OS::closesocket (policy->acceptor ()->get_handle ()); - ACE_Thread_Manager::instance ()->wait (); db->release (); |