-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows supports #43
Comments
UDP socket category:
Windows UDP socket implementation for receiving (no best match, sigh):
Requirement: we want to use c) for sending on a QUIC server. If a) is used for accepting, dispatching packets among c) by kernel fails due to 3). So, b) should be used for accepting/receiving. b) wins against c)s thanks to 3). Our architecture:
|
@Mistuke I would like to have the timer manager on Windows. I wonder why it is not exported. If
And you can replace the backend of the timer manager and implement the IO manager in the future if you wish. So, I think that GHC should just export |
@kazu-yamamoto the problem is that as you say the Newer Windows have added
It's a bit of a tangled web to un-weave.. There's no actual implementation that would work for MIO. For the new I/O manager there's a timer manager being exposed through Note that Hoogle and Hackage won't show you this because they build the libraries for one OS in order to index it, so they build for Linux, leaving out any MacOS or Windows specific bits. It can't really be exposed through |
@Mistuke Thanks. I misunderstood that |
@Mistuke Many test cases now pass on Windows! I respect your work! Bravo! |
Yay! good to hear! |
@BernardoGomesNegri |
Very nice code! A few questions (purely out of curiosity): is the base thread ever killed? If so, when? |
You can use
|
All test cases are passed on Windows now.
recvMsg
(windowsThreadBlockHack
from Warp)killThread
. So, spawning a new thread for IO so that he parent thread can be killed.recvMsg
catches all packets (see below)The text was updated successfully, but these errors were encountered: