3 ms·
You could take this one step further by using the __COUNTER__ macro to generate unique numbers in the preprocessor. Alas, this isn't a part of the standard (ii
by exDM69 6y ago
You could take this one step further by using the __COUNTER__ macro to generate unique numbers in the preprocessor.
Alas, this isn't a part of the standard (iirc), so you need to depend on compiler-specific features.
- edflsafoiewq 6y agoWhat I'm thinking of is modifying it like this LC_SET(s,0) A + LC_SET(s,2) + C LC_SET(s,1) B When the number for each resume point is explicit instead of automatic, you can edit the source code while controling where any existing suspended coroutines will resume at.