Is crDelay( h, 0 ) the same as a yield?
I want to yield from a coroutine, but there’s no crYield(). Looking at the source, a crDelay with a time delay of zero only sets STATE0 but it doesn’t add the coroutine to any kind of ready list.
Is crDelay( h, 0 ) the same as a yield?
Is crDelay( h, 0 ) the same as a yield?
Effectively, I think yes.