[Issue 3089] Error: f.bar can only be called on a mutable object, not shared(foo)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 28 10:55:54 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3089



--- Comment #4 from Jason House <jason.james.house at gmail.com> 2009-10-28 10:55:53 PDT ---
(In reply to comment #3)
> To the best of my knowledge, currently, shared does not imply synchronized,
> though synchronized implies shared. Shared only provides the correct memory
> fences. Shared structs/arrays are important for lock-free algorithms.

That's the exact use case I want to do!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list