]> git.rkrishnan.org Git - sicp.git/blob - src/sicp/ex3_45.rkt
solution to 3.45
[sicp.git] / src / sicp / ex3_45.rkt
1 #lang racket
2
3 #|
4
5 Deposits and Withdrawals are fine. But when it comes to exchange, we need a
6 "mutually serialized" procedure with something like this:
7
8  (serializer-1 (serializer-2 exchange))
9
10 Otherwise, we are creating a "time hole" when another execution process can
11 get hold of one of the account and deposit/withdraw from it which will make
12 the end result of exchange erroneous.
13
14 |#