News for hackers. Stuff that matters.
Re:Protothreads: Lightweight Stackless Threads in C by webstrand on Thursday May 16, 2019 @12:33AM (#19926143)
If I understand it correctly, it doesn't. That's why they're called stackless threads. Variables local to the stack frame lose their state, so any internal state needs to be stored in a global.

There are no comments on this comment yet.