Windows asynchronous I/O interface is a bit complicated to have simple API like it is now in asyncfile.py - it looks like file handles are to be created appropriately instead of wrapping given file handles. I will look into it when I have a Windows machine. I am hoping that someone may contribute a patch in the meantime.
Giri
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have preliminary support for AsyncFile and AsyncPipe in Windows. If you are interested in trying it, please email me directly. Note that AsyncFile on its own is of little use in Windows (under Unix-like systems it can be used for sockets, but in Windows sockets don't work as files for async). I am wondering if you have any specific need for AsyncFile.
Giri
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am curious whether there is a plan to support AsyncFile on windows. Thanks.
Regards
gelin yan
Windows asynchronous I/O interface is a bit complicated to have simple API like it is now in asyncfile.py - it looks like file handles are to be created appropriately instead of wrapping given file handles. I will look into it when I have a Windows machine. I am hoping that someone may contribute a patch in the meantime.
Giri
I have preliminary support for AsyncFile and AsyncPipe in Windows. If you are interested in trying it, please email me directly. Note that AsyncFile on its own is of little use in Windows (under Unix-like systems it can be used for sockets, but in Windows sockets don't work as files for async). I am wondering if you have any specific need for AsyncFile.
Giri