You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
when i call
readfile
andwritefile
, the error code say a parameter erraccording to win doc , if i open file with
FILE_FLAG_OVERLAPPED
, thereadfile
andwritefile
is async function and you must input a OVERLAPPED struct otherwise something error occuredand what's more , when i delete
FILE_FLAG_OVERLAPPED
, is seemed to be a mutex lock betweenreadfile
andwritefile
if i call
readfile
first it will stuck read , will it's right if no net package was received, but thewritefile
thread is also stuck . only afterreadfile
get a package , thewritefile
wake up and send a packageThe text was updated successfully, but these errors were encountered: