by barrkel · 9y ago · 0 comments
Instead of creating a thread and blocking until being signalled in the continuation of an IO, enqueue a work item to continue work at PASSIVE_LEVEL (i.e. schedule a continuation).
Async means continuations, otherwise you're blocking.
https://docs.microsoft.com/en-us/windows-hardware/drivers/ke...
But perhaps that's what you did. If you're still stuck, I suggest you email Larry Osterman (Firstname.Lastname@microsoft.com) for a clue; Larry has worked on the NTFS driver and he's responded to my emails in the past. For an improved probability of a useful response, I'd send him a link to a Stack Overflow question, so that other people benefit from the reply also. (This is a general rule for emailing people for developer help, you'd be surprised how many random people email system / compiler developers for coding assistance.)
He pops up here occasionally to defend Windows unique I/O subsystem¹, and monitors Twitter².
¹ https://hn.algolia.com/?query=author:trentnelson&sort=byDate...