News for hackers. Stuff that matters.
Re:ProtoThreads: Lightweight, Stackless Threads in C by Squonk42 on Monday September 23, 2019 @01:02AM (#21046039)
Yes, and here is an implementation: https://github.com/naasking/async.h

Duff’s device along with the __LINE__ trick enables the creation of automatic DFAs useful to generate coroutines, protothreads and async/await alike.

There are no comments on this comment yet.