bytedance / monoio

Rust async runtime based on io-uring.
Apache License 2.0
4.02k stars 226 forks source link

fix: windows implement of `op::Write` is incorrect #294

Closed Lzzzzzt closed 2 months ago

Lzzzzzt commented 2 months ago

Fix the bug that the windows implements of op(Write/Read) use the FILE_CURRENT to seek the file pointer, which is not the same with the unix syscall pwrite/pread.

This PR is done by finishing the following tasks:

Other details are shown in the code.