Oh, my GoD! Goroutines on D

Panke tobias at pankrath.net
Tue May 19 08:55:34 UTC 2020


On Tuesday, 19 May 2020 at 08:42:14 UTC, Bienlein wrote:
>
> Then you also need continuations. Lets say inside a function a 
> blocking take is done on two channels in a row. The first 
> channel has some input, the next one has not. In between comes 
> a context switch. When switching back the value taken from the 
> first channel has to be put back into the context. This is why 
> continuations are needed.
>

The continuation is implicit when using fibers, isn't it?




More information about the Digitalmars-d mailing list