Concurrency architecture for D2
Sean Kelly
sean at invisibleduck.org
Fri Jan 8 18:53:28 PST 2010
dsimcha Wrote:
>
> Why doesn't shared appear anywhere in core.thread?
Until the semantics of shared are finalized and the critical bugs are worked out I don't want to integrate shared with core.thread--it's the centerpoint of too much stuff (GC, etc). But general purpose concurrency should never touch core.thread anyway. There will be a higher-level interface available that's safer and easier to use. One could also argue that core.thread should accept unshared delegates, since it's possible to do so safely, you just don't have any language support to help. The design philosophy with the modules in core is quite different from std.
More information about the Digitalmars-d
mailing list