[dmd-concurrency] Defining shared delegates

Sean Kelly sean at invisibleduck.org
Tue Jan 19 21:14:44 PST 2010


On Jan 19, 2010, at 9:04 PM, Andrei Alexandrescu wrote:
> 
> Nononono, what we need is _specifically_ a Thread ID because we can pass certain data (e.g. shared objects) only to threads. Indeed we do need a Cid later on, and calling send(cid, ...stuff...) will obey different limitations.
> 
> I do agree that at some point you can convert a Tid into a Cid and use it generically without caring exactly how concurrency is effected. But of course then you lose the ability of passing shared data.

Hm okay... makes sense.


More information about the dmd-concurrency mailing list