# HG changeset patch # User paulb # Date 1189900969 0 # Node ID 77f3347f8be91f6b68e1725bb0b8fdaa2417ec63 # Parent bc8b83491bda719eee510f5b6702672573462d09 [project @ 2007-09-16 00:02:49 by paulb] Added a table of conversions and features used. diff -r bc8b83491bda -r 77f3347f8be9 docs/tutorial.xhtml --- a/docs/tutorial.xhtml Sun Sep 16 00:02:34 2007 +0000 +++ b/docs/tutorial.xhtml Sun Sep 16 00:02:49 2007 +0000 @@ -188,7 +188,7 @@ print "Time taken:", time.time() - t

(This code in context with import statements and functions is -found in the examples/simple_manage_map.py file.)

+found in the examples/simple_managed_map.py file.)

The principal changes in the above code involve the use of a pprocess.Map object to collect the results, and a version of the @@ -525,5 +525,50 @@ the results in the same order as the initiation of the computations which produced them.

+

Summary

+ +

The following table indicates the features used in converting one +sequential example program to another parallel program:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Sequential ExampleParallel ExampleFeatures Used
simple_mapsimple_pmappmap
simple1simple_managed_mapMap, manage
simple2simple_managed_queueQueue, manage
simple_managedExchange (subclass), manage, finish
simple_startChannel, Exchange (subclass), start, finish
simplesimple_create_mapChannel, Map, create, exit
+