ty

Results 298 comments of ty

Maybe we can just import [libtuntap](https://github.com/LaKabane/libtuntap)

It seems that there is no complicated work to be done to make this project compatible with macOS. The APIs are almost the same with Linux. For Windows, we could...

Unfortunately, I think every existing projects in Rust will be affected. Because nearly every Rust projects uses libstd, and libstd uses TLS for - Panic handling - Stdio So, for...

It seems that someone is going to add coroutine support directly to LLVM, which means that it is possible to tell LLVM not to inline TLS calls between context swaps....

@ihrwein Thanks for your suggestion. What you are proposing is "coroutine local variable", which stores data with the `Coroutine`. But as you can see, it requires Rust's official teams' support,...

Yup. I have already figure out. This is nothing to do with the TLS inlining. But I don't have time to maintain this project anymore, so this issue keep hanging.

`PANIC_COUNT` issue in #70

Theoretically, we don't need to check it [here](https://github.com/glasswings/coio-rs/blob/issue-51/src/coroutine.rs#L62), because it is impossible to trigger any unwinding process before `callback()`, all codes are in `spawn_opts`.