No longer need make-share

This commit is contained in:
Justin Ethier 2020-01-24 14:53:48 -05:00
parent a6ce8c4ba1
commit f672d23e75

View file

@ -11,7 +11,7 @@
(define (sum-loop n)
(mutex-lock! m)
(set! *sum* (make-shared (+ *sum* 1)))
(set! *sum* (+ *sum* 1))
(mutex-unlock! m)
;(swap! *sum* + 1)
(if (zero? n)