Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 21280410b6ea906d791d7a12afae2579 > files > 93

libace5-doc-5.4-2mdk.i586.rpm

<!-- page06.html,v 1.4 2000/03/19 20:09:23 jcej Exp -->
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (X11; I; Linux 2.0.32 i486) [Netscape]">
   <META NAME="Author" CONTENT="James CE Johnson">
   <META NAME="Description" CONTENT="A first step towards using ACE productively">
   <TITLE>ACE Tutorial 006</TITLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#000FFF" VLINK="#FF0F0F">

<CENTER><B><FONT SIZE=+2>ACE Tutorial 006</FONT></B></CENTER>

<CENTER><B><FONT SIZE=+2>Creating a thread-per-connection server</FONT></B></CENTER>


<P>
<HR WIDTH="100%">
<P>That's it for Tutorial 6.&nbsp; With very little effort we've managed
to extend the previous single-threaded server to an implementation which
allows runtime selection of single or multi-threaded operation.&nbsp; In
Tutorial 7 we'll extend that again to allow a thread-pool choice in addition
to the current two.

<P>For reference, here's the file list again:
<UL>
<LI>
<A HREF="Makefile">Makefile</A></LI>

<LI>
<A HREF="client_acceptor.h">client_acceptor.h</A></LI>

<LI>
<A HREF="client_handler.cpp">client_handler.cpp</A></LI>

<LI>
<A HREF="client_handler.h">client_handler.h</A></LI>

<LI>
<A HREF="server.cpp">server.cpp</A></LI>

<LI>
<A HREF="fix.Makefile">fix.Makefile</A></LI>
</UL>
<P><HR WIDTH="100%">
<CENTER>[<A HREF="../online-tutorials.html">Tutorial Index</A>] </CENTER>