Fork me on GitHub
#clojure-dev
<
2019-08-08
>
andy.fingerhut01:08:57

Hopefully a quick question right now -- not looking to start up a big discussion at the moment -- just doing some research. The Clojure reference docs on transients say: "Transients require thread isolation." and then go on for another couple of paragraphs to clarify and explain that. https://clojure.org/reference/transients#_concurrent_use I have found mentions of "thread confinement" in the book Java Concurrency In Practice, which is what transients formerly enforced in Clojure 1.6 and earlier by the "same thread id must make all mutations to a transient until it is converted back to persistent", but have not yet found other uses of the phrase "thread isolation". If that phrase is used and defined elsewhere, I would appreciate a pointer. If not, and the phrase is intended to be explained in those couple of paragraphs, that would be interesting to know, too.

alexmiller02:08:30

it's intended to be explained there

alexmiller02:08:42

not a reference to anything