Open dpc opened 8 years ago
@sbstp: Do you happen to have a full example?
Unfortunately I don't. I no longer have the code that does this. I rewrote it using select! and it looks much better and uses a single coroutine. What I gave you in the other issue is a partial reconstruction of what it looked like.
I think for whatever reason try_clone
did not dup
the actual fd
. I need to reproduce and investigate more
Reported originally in #122
try_clone
must return a deep clone (new fd), or not work at all. Also: make sure mioco types can't be used from multiple threads/coroutines at the same time.