summaryrefslogtreecommitdiff
path: root/docs/tutorials/005a/page06.html
blob: 2e5cde0ac9b3020af9d11a96f2774a4e940fd79b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
   <TITLE>ACE Tutorial 001</TITLE>
   <META NAME="GENERATOR" CONTENT="Mozilla/3.0Gold (Win95; I) [Netscape]">
   <META NAME="Author" CONTENT="James CE Johnson">
   <META NAME="Description" CONTENT="A first step towards using ACE productively">
</HEAD>
<BODY text = "#000000" link="#000fff" vlink="#ff0f0f" bgcolor="#ffffff">


<CENTER><P><B><FONT SIZE=+2>ACE&nbsp;Tutorial 005<BR>
Creating a MultiThreaded Server </FONT></B></P></CENTER>

<P>
<HR WIDTH="100%"></P>

<P>Well, that's it for the first section of the fifth tutorial. Doug Schmidt
proposed a more &quot;elegant&quot; way to implement a multi-threaded server
by using active objects. We will discuss this solution next as a carry
on to tutorial five, even though the solution doesnt allow for multiple
connections per reactor object. Click on &quot;Alternative solution&quot;
below to carry on with tutorial five....</P>

<P>As promised, this all fits together into a single file (server.cpp)</P>

<UL>
<LI><A HREF="00SetEnv">Environment Settings</A></LI>

<LI><A HREF="Makefile">Makefile</A></LI>

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

<P>
<HR WIDTH="100%"></P>

<CENTER><P>[<A HREF="..">Tutorial Index</A>] [<A HREF="page03.html">Previous
Page</A>] [<A HREF="file://page5b.html">Alternative Solution]</A> </P></CENTER>

</BODY>
</HTML>