[dmd-concurrency] What is shared?
Sean Kelly
sean at invisibleduck.org
Sun Jan 3 19:31:44 PST 2010
Not necessarily. Immutable means that synchronization isn't necessary
for data accessed by multiple threads, but it says nothing about
visibility.
Sent from my iPhone
On Jan 3, 2010, at 5:43 PM, Michel Fortin <michel.fortin at michelf.com>
wrote:
> Le 2010-01-03 à 19:34, Andrei Alexandrescu a écrit :
>
>> Conversely, an object _not_ marked as "shared" is definitely
>> visible only within one thread.
>
> Except for those marked immutable, which also implies shared.
>
> --
> Michel Fortin
> michel.fortin at michelf.com
> http://michelf.com/
>
>
>
> _______________________________________________
> dmd-concurrency mailing list
> dmd-concurrency at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-concurrency
More information about the dmd-concurrency
mailing list