Sharing unlocked, unchanging data between threads?

Jacob Carlborg doob at me.com
Wed Aug 11 02:36:55 PDT 2010


On 2010-08-10 23:53, Jonathan M Davis wrote:
> On Tuesday, August 10, 2010 11:54:06 Jacob Carlborg wrote:
>> I though immutable was supposed to be implicitly shared with no need for
>> locks or read-write barriers (or what they're called).
>
> Ah. I have no clue that D1 does. I only use D2. There's obviously nothing wrong
> with posting D1 questions here, but most of the discussion and questions around
> here are for D2, so it's probably a good idea to indicate that you're using D1
> when asking a D1-related question.
>
> - Jonathan M Davis

Oh, was the question about D1? I didn't get that.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list