On Monday, 27 October 2014 at 21:43:47 UTC, Sean Kelly wrote:
Yep. Every logical thread is a Fiber executed in a round-robin manner by a pool of kernel threads. Pooled threads are spun up on demand (to a set upper limit) and terminate when there are no fibers waiting to execute. It should make for a good "millions of threads" baseline scheduler.

Will you reuse std.parallel's task scheduler for that?
I always thought that the std.parallel and Fibers should work together but it wasn't easily possible to adapt Fibers to Tasks.

Reply via email to