jClaireCodesStuff
jClaireCodesStuff
I tried simply checking for `data != 0` to trigger unwinding. It breaks somewhere and I'd like to have the logger working to figure where.
I see. I misunderstood the topology. It's not one Processor context which activates each Coroutine in turn; there's a ring of running Coroutines. The `data` field is overloaded. It (may?)...
I'm feeling pretty happy with the code as it is. It would be nice to pass the network echo tests, too, but I don't think I broke them. The added...
[`coroutine_unwind`](https://github.com/zonyitoo/coio-rs/blob/515d051b1cc00cf1e0d01e79469f4259c339afd9/src/coroutine.rs#L101-L110) causes undefined behavior by unwinding through `extern "C"` **Proposed:** Check a flag after `context.resume` returns and start unwinding there. Small performance hit, need to keep the flag in the...
[Proof-of-concept in PR](https://github.com/zonyitoo/coio-rs/pull/52) I'll try to figure out passing through `data`.
I reproduced this using a very pared down version of the example from the docs. Only declaring one `ErrorKind` seems to work, but the second one causes the macro error...