Fork me on GitHub

I'm looking at building my own buffer implementation. Is what I do inside the buffer methods thread safe? It will have some state I'll need to update, and my first pass uses an atom, but I feel like it might not be necessary and maybe not performant.

Alex Miller (Clojure team)13:07:24

I don't have context loaded, but I believe buffers are only accessed under the channel lock


Ok thanks. That's consistent with what i gathered from looking at the existing implementions but wanted to double check.