Immutable Message Passing

Graham St Jack Graham.StJack at internode.on.net
Mon Dec 5 15:29:06 PST 2011


On 05/12/11 18:48, Jacob Carlborg wrote:
> On 2011-12-05 08:25, Graham St Jack wrote:
>
>> I always use arrays or structs. Until the tail-const thing (or something
>> like it) happens, classes don't seem to be viable in messages between
>> threads.
>
> You can always serialize the object, if a copy is acceptable.
>
Sure - I was counting that as an array of bytes, and I sometimes resort 
to that too.

-- 
Graham St Jack



More information about the Digitalmars-d mailing list