On Tue Aug 8 13:29:19 2023 +0000, Nikolay Sivov wrote:
Is there an evidence of this happening? Maybe we should be using BeginRead/EndRead? I remember testing that with file byte stream, and it was using something in overlapped data in MFASYNCRESULT structure.
Well this **is** used to implement our async BeginRead/BeginWrite, which I'd like to use without blocking the callback queue. We use an async MF operation which calls the synchronous Read, and which is queued on the callback queue (currently) and I'd like to move it to the I/O queue.
I can probably add tests, but I suspect that the asynchronous operations might be implemented differently depending on the byte stream implementation, and maybe the file based streams use async file I/O directly?