Re:\Device\Afd, or, the Deal with the Devil that makes async...
by dblohm7 on Tuesday March 14, 2023 @02:13PM
(#35155973)
That's fair, but how is that any different than async I/O on any other OS?
Re:\Device\Afd, or, the Deal with the Devil that makes async...
by Dylan16807 on Tuesday March 14, 2023 @02:22PM
(#35156139)
My understanding is the API they want notifies when data is ready, then you make a buffer and fill it immediately. In that situation a significantly smaller set of errors is possible and you don't have to figure out disposal of a pinned and possibly-in-use buffer if you decide to cancel.
Pinning a buffer is easy. Dealing with ownership ramifications in all situations is confusing.