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 fileparallel.scm
below gives an implementation ofparallel-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.
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
Last modified August 30, 1996