mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
No longer need make-share
This commit is contained in:
parent
a6ce8c4ba1
commit
f672d23e75
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue