add a quick thought about spawn implementation

This commit is contained in:
Scott Richmond 2023-01-28 17:42:34 -05:00
parent ccddfa07c5
commit 7dca7ad3cc

View File

@ -530,6 +530,7 @@
(swap! process-atom #(assoc % :queue (conj q msg)))
(Thread/sleep 1) ;; this is terrible--but it avoids deadlock
;;TODO: actually debug this?
;;THOUGHT: is swap! returning before the value is actually changed? Clojure docs say atoms are synchronous
)
msg))
@ -721,7 +722,7 @@
(comment "
Left to do:
* if-let pattern
x if-let pattern
* improve panics
* add location info for panics
* refactor calling keywords