Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Feb 20, 2025
1 parent 8075b90 commit 37aae83
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions compiler+runtime/test/bash/future/src/jank_test/future.jank
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
(ns jank-test.future)

(defn -main []
(let [atm (atom [])
a (future (swap! atm conj "a"))
b (future (swap! atm conj "b"))]
@a
@b
(prn @atm "DONE")))
(dotimes [_ 100000]
(let [atm (atom [])
a (future (swap! atm conj "a"))
b (future (swap! atm conj "b"))]
@a
@b
(prn @atm "DONE"))))

0 comments on commit 37aae83

Please sign in to comment.