Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

mob-client threads start hanging on windows #10

Open
dylemma opened this issue Mar 1, 2016 · 5 comments
Open

mob-client threads start hanging on windows #10

dylemma opened this issue Mar 1, 2016 · 5 comments

Comments

@dylemma
Copy link

dylemma commented Mar 1, 2016

First off, I'd like to thank you for creating this project. I'm very new to Rust, and found this project through your blog post which was linked from the MIO project. It has been very helpful as a hands-on example and launching point.

Secondly, I'm not sure if this is a bug in "mob" or MIO. If you think this is a MIO bug I'll be glad to re-report the bug there.

Essentially the bug is that when running both mio-server and mio-client (built from the master branch) on my Windows machine, all but one of the client threads start hanging. As far as I can tell from adding println!s, they are blocked trying to read from the server.

I set up an Ubuntu VM on the hunch that the issue was OS-specific, and sure enough, it works fine on Ubuntu.

@hjr3
Copy link
Owner

hjr3 commented Apr 18, 2016

It might be related to tokio-rs/mio#365 . I will update once 0.6.0 comes out and we can see if that fixes it.

@hjr3
Copy link
Owner

hjr3 commented Jul 13, 2017

@dylemma i have updated this to the latest mio. Not sure if it is working now (or if you even care!).

@dylemma
Copy link
Author

dylemma commented Jul 13, 2017

@hjr3 thanks for the update! After work I'll see if I can find the project I was working on when I reported this.

@dylemma
Copy link
Author

dylemma commented Jul 16, 2017

Well, now it won't even compile on Windows because of UnixReady. I opened up tokio-rs/mio#631 since trying to just use Ready gives deprecation warnings.

@hjr3
Copy link
Owner

hjr3 commented Jul 16, 2017

probably something i am doing wrong. i forgot i have a new windows laptop i can test this on too. thanks for the feedback!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants