-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Initial ethcore-io refactor #8185
Comments
Can you actually use tokio (actual question, I don't know ethcore-io enough to know)? |
@tomaka, please correct me if I'm wrong, but I do not see a problem here. Looks like Parity internals use I even tried forcing Could you please give me some more details on a part of the system where you expect problems? What particular |
Right now the sockets are identified by a If you switch to tokio, however, you would need to manipulate It should be possible to wrap around tokio's API so that each
https://docs.rs/tokio-core/0.1.16/tokio_core/reactor/struct.Core.html |
Also, once you build a |
Another problem is that even if you track which thread each I think |
@tomaka, thank you very much for the detailed explanation! It is much clearer now. I would try to find a solution. |
cc @tomaka
You could also split |
wouldn't that be enough? |
ah, actually that would not work... That's how I 'solved' this problem in parity-bitcoin |
I don't think I don't know how parity-bitcoin is organized, but from a quick look you don't seem to use a thread for I/O (and therefore not facing the same issues). |
Was suggested above already. |
@tomaka, as for versions 0.1.x I believe they are implemented both in |
Oh, I guess I was mistaken then. |
I think more recent mio versions and tokio >= 0.1 are |
Closing the issue due to its stale state |
Currently ethcore-io event loop is based on deprecated part of
mio
. Let's replace it withtokio
The text was updated successfully, but these errors were encountered: