1.1 --- a/docs/tutorial.xhtml Sun Sep 16 00:02:34 2007 +0000
1.2 +++ b/docs/tutorial.xhtml Sun Sep 16 00:02:49 2007 +0000
1.3 @@ -188,7 +188,7 @@
1.4 print "Time taken:", time.time() - t</pre>
1.5
1.6 <p>(This code in context with <code>import</code> statements and functions is
1.7 -found in the <code>examples/simple_manage_map.py</code> file.)</p>
1.8 +found in the <code>examples/simple_managed_map.py</code> file.)</p>
1.9
1.10 <p>The principal changes in the above code involve the use of a
1.11 <code>pprocess.Map</code> object to collect the results, and a version of the
1.12 @@ -525,5 +525,50 @@
1.13 the results in the same order as the initiation of the computations which
1.14 produced them.</p>
1.15
1.16 +<h2>Summary</h2>
1.17 +
1.18 +<p>The following table indicates the features used in converting one
1.19 +sequential example program to another parallel program:</p>
1.20 +
1.21 +<table border="1" cellspacing="0" cellpadding="5">
1.22 + <thead>
1.23 + <tr>
1.24 + <th>Sequential Example</th>
1.25 + <th>Parallel Example</th>
1.26 + <th>Features Used</th>
1.27 + </tr>
1.28 + </thead>
1.29 + <tbody>
1.30 + <tr>
1.31 + <td>simple_map</td>
1.32 + <td>simple_pmap</td>
1.33 + <td>pmap</td>
1.34 + </tr>
1.35 + <tr>
1.36 + <td>simple1</td>
1.37 + <td>simple_managed_map</td>
1.38 + <td>Map, manage</td>
1.39 + </tr>
1.40 + <tr>
1.41 + <td rowspan="3">simple2</td>
1.42 + <td>simple_managed_queue</td>
1.43 + <td>Queue, manage</td>
1.44 + </tr>
1.45 + <tr>
1.46 + <td>simple_managed</td>
1.47 + <td>Exchange (subclass), manage, finish</td>
1.48 + </tr>
1.49 + <tr>
1.50 + <td>simple_start</td>
1.51 + <td>Channel, Exchange (subclass), start, finish</td>
1.52 + </tr>
1.53 + <tr>
1.54 + <td>simple</td>
1.55 + <td>simple_create_map</td>
1.56 + <td>Channel, Map, create, exit</td>
1.57 + </tr>
1.58 + </tbody>
1.59 +</table>
1.60 +
1.61 </body>
1.62 </html>