Fork me on GitHub
#core-async
<
2016-04-19
>
clark23:04:31

howdy folks! I'm wondering about using transients in the context of core.async. Reading http://clojure.org/reference/transients leads me unsure of their safety in go blocks, given the wording here:

In Clojure 1.6 and earlier, transients would detect any (read or write) use from a thread other than the one that created them and throw an exception. That check was removed in 1.7 to allow for more flexible use in frameworks like core.async go blocks that enforce the single-threaded constraint via other means.

clark23:04:56

right now I'm explicitly using transients in their own threads, but I'm just curious on the situation in go blocks should the application go that way