For the core.async example, it was my mistake. Forgot to definheritable foo. The example does not return an exception, but "Main Thread", showing that the inheritable did not work. If using async/thread it does work though.
On Saturday, 29 July 2017 08:07:08 UTC-7, Jiacai Liu wrote: > > After digging into dynamic + binding doesn't work in multithread, I create > a simple wrap to define thread-inheritable var. > Any suggestions(bugs) are welcome. > > https://github.com/jiacai2050/inheritable-var > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.