-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add support for using CompletionPacket for overlapped I/O #137
base: master
Are you sure you want to change the base?
Conversation
It makes more sense to have it here. Signed-off-by: John Nunley <[email protected]>
This allows it to be used outside of polling as a part of overlapped operations. Signed-off-by: John Nunley <[email protected]>
Signed-off-by: John Nunley <[email protected]>
Signed-off-by: John Nunley <[email protected]>
Signed-off-by: John Nunley <[email protected]>
Signed-off-by: John Nunley <[email protected]>
Hi @notgull! What is the state of this pr? I'm willing to help with this |
There was a segfault I kept encountering that I couldn't figure out how to work around. So if that was fixed this would be good to merge. |
I have an error and a crash in Write error
it seems you are using
But the Packet actually doesn't have OVERLAPPED as the first field and isn't #[repr(C)]? Something like:
After changing this to
it started writing. Crash
|
Closes #97
This allows the packet to be used for overlapped operations, like reading from or writing to files.