add a quick thought about spawn implementation
This commit is contained in:
parent
ccddfa07c5
commit
7dca7ad3cc
|
@ -530,6 +530,7 @@
|
||||||
(swap! process-atom #(assoc % :queue (conj q msg)))
|
(swap! process-atom #(assoc % :queue (conj q msg)))
|
||||||
(Thread/sleep 1) ;; this is terrible--but it avoids deadlock
|
(Thread/sleep 1) ;; this is terrible--but it avoids deadlock
|
||||||
;;TODO: actually debug this?
|
;;TODO: actually debug this?
|
||||||
|
;;THOUGHT: is swap! returning before the value is actually changed? Clojure docs say atoms are synchronous
|
||||||
)
|
)
|
||||||
msg))
|
msg))
|
||||||
|
|
||||||
|
@ -721,7 +722,7 @@
|
||||||
(comment "
|
(comment "
|
||||||
|
|
||||||
Left to do:
|
Left to do:
|
||||||
* if-let pattern
|
x if-let pattern
|
||||||
* improve panics
|
* improve panics
|
||||||
* add location info for panics
|
* add location info for panics
|
||||||
* refactor calling keywords
|
* refactor calling keywords
|
||||||
|
|
Loading…
Reference in New Issue
Block a user