Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.




ID: 25101, Parallel Processing Demo using Conway's Life

by Allen Bauer Email: Anonymous


Simple demonstration of using a "ParallelLoop" where the simple "for" loop is broken up into chunks and dispatched among various threads in a thread pool.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 11.0  to 11.0 803 downloads
Copyright: Commercial use requires permission


Terms of use: Embarcadero use at your own risk disclaimer


Size: 469,711 bytes
Updated on Wed, 21 Nov 2007 14:53:37 GMT
Originally uploaded on Fri, 02 Nov 2007 10:50:11 GMT
SHA1 Hash: F57033B2AA1B9E9B1A01404A880A2134C08D4F04
MD5 Hash: 8267E44EC0869C5EBE0BF24B1AB37C4B

    Explore the files in this upload

Description
Simple demonstration of using a "ParallelLoop" where the simple "for" loop is broken up into chunks and dispatched among various threads in a thread pool.

Contained within this demo is a "work in progress" Parallel.pas file. This contains a thread pool implementation and two ParallelLoop functions. One function takes a method pointer and the other uses an old trick (from the old Turbo Vision days) where you can pass in the address of a nested procedure in order to be returned to the calling scope.

Also contained with this demonstration project is a large selection of .lif files that contain many interesting start up patterns. These are in standard #Life 1.05 format. You can get more information about these files here:

http://psoup.math.wisc.edu/mcell/ca_files_formats.html

Other resources can be found here:

http://www.radicaleye.com/lifepage/

Finally, here is a very good implementation of Life written in Delphi:

http://psoup.math.wisc.edu/Life32.html

Server Response from: ETNACDC04