On Tue, Feb 22, 2011 at 1:39 PM, Daniel Grunwald
<[email protected]> wrote:
> I took a slightly different approach:
> https://github.com/dgrunwald/cecil/commits/threadsafe2
> This should be safe under the following assumptions:
> a) The module is accessed for reading only
> b) Writes are never reordered (not guaranteed in the CLI spec; but the
> MS .NET memory model has this additional guarantee)
> c) We do not care about the identity of empty collections
> d) I didn't forget any lazy-initialized property :)

That's indeed looking good.

Jb

-- 
--
mono-cecil

Reply via email to