Skip to content
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

it don't work in my win10 #44

Closed
ririyeye opened this issue Dec 2, 2023 · 0 comments
Closed

it don't work in my win10 #44

ririyeye opened this issue Dec 2, 2023 · 0 comments

Comments

@ririyeye
Copy link

ririyeye commented Dec 2, 2023

when i call readfile and writefile, the error code say a parameter err
according to win doc , if i open file with FILE_FLAG_OVERLAPPED , the readfile and writefile is async function and you must input a OVERLAPPED struct otherwise something error occured
and what's more , when i delete FILE_FLAG_OVERLAPPED , is seemed to be a mutex lock between readfile and writefile
if i call readfile first it will stuck read , will it's right if no net package was received, but the writefile thread is also stuck . only after readfile get a package , the writefile wake up and send a package

@ririyeye ririyeye mentioned this issue Dec 4, 2023
@ririyeye ririyeye closed this as not planned Won't fix, can't repro, duplicate, stale Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant