Relevant sections in text: 3.4This 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-executefacility (see the text, section 3.4). If you are not running MIT Scheme, this may be difficult to arrange. The file
parallel.scmbelow gives an implementation of
parallel-executein terms of primitives included in MIT Scheme, but which are not part of the Scheme standard.
Files for download:
TeX source for the assignment.
Postscript file for printing the assignment
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
Return to SICP page
Last modified August 30, 1996