summaryrefslogtreecommitdiff
path: root/docs/tutorials/005/page06.html
blob: 4ce9694e95e2c36f2f3f7446aac5840e934a98fa (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 005</TITLE>
   <META NAME="GENERATOR" CONTENT="Mozilla/3.0Gold (Win95; I) [Netscape]">
   <META NAME="Author" CONTENT="Billy Quinn">
   <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 an alternative 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 doesn't allow for multiple
connections per reactor object. Click on &quot;Alternative solution&quot;
below to carry on with tutorial five....</P>

<P>As promised, the first solution 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="page05.html">Previous
Page</A>] [<A HREF="page07.html">Alternative Solution]</A> </P></CENTER>

</BODY>
</HTML>