deadlock when using clojure data structures at startup

2014-01-30 Thread Michael Blume
I work on a Java team, so our use of clojure is either a) calling into clojure from java or b) directly using the clojure data structures. Recently we had an app fail because, as it was starting up, one thread was trying to require a clojure namespace, and another was trying to use a

Re: deadlock when using clojure data structures at startup

2014-01-30 Thread Stephen C. Gilardi
On Jan 30, 2014, at 8:22 PM, Michael Blume blume.m...@gmail.com wrote: Recently we had an app fail because, as it was starting up, one thread was trying to require a clojure namespace, and another was trying to use a PersistentHashSet. Somehow these two threads wound up in deadlock. I've