Concurrency


Relevant sections in text: 3.4

This assignment explores issues of synchronization and concurrency in the context of simulating a currency-exchange market.

The code for this assignment relies on the parallel-execute facility (see the text, section 3.4). If you are not running MIT Scheme, this may be difficult to arrange. The file parallel.scm below gives an implementation of parallel-execute in terms of primitives included in MIT Scheme, but which are not part of the Scheme standard.

Files for download:

ps7.tex TeX source for the assignment.
ps7.ps Postscript file for printing the assignment
gauss.scm
parallel.scm
nikkei.scm
Scheme source code required for this assignment.

To download files, hold down shift while clicking on the appropriate link.
To view files, click on them.
To see directory listing, click here.


Copyright © 1985-1996 Massachusetts Institute of Technology.
The material in these problem sets may be duplicated, modified, and redistributed for any non-commercial use in conjunction with the book Structure and Interpretation of Computer Programs.


Return to sample assignment page

Return to SICP page


Last modified August 30, 1996