[DGD] Continuations

Felix A. Croes felix at dworkin.nl
Thu Apr 18 21:34:40 CEST 2019


"Felix A. Croes" <felix at dworkin.nl> wrote:

>     static void enqueue(object obj)
>     {
> 	object token;
>
> 	if (sizeof(suspended) != 0) {
> 	    token = suspended[0];
> 	    suspended = suspended[1 ..];
> 	    token->wakeContinuation(obj);

wakeContinuation has been renamed to resumeContinuation.

Regards,
Felix Croes


More information about the DGD mailing list