On Jul 18, 2013, at 8:28 AM, Matt <[email protected]> wrote: > Hi guys, > I know this will have probably been answered before, but does D have a > concept similar to Go's channels when it comes to tasks? > > I believe (according to a few forum posts hinting at it) that such a thing > exists for threads, but not for the lightweight tasks provided by > std.parallelism. Are there any plans to add such a feature to the library?
Not as such. I'd like to make Fibers each have their own message queue in std.concurrency, but that means making TLS work at the fiber level, which is tricky. I think there is value in the CSP model (ie. channels), but haven't done anything about it in terms of library work.
