On Wed Sep 10 18:17:01 2025 +0000, Matteo Bruni wrote:
The other comment is about the new ntoskrnl tests. I don't understand why `CancelIoEx()` "by itself" seems to block in this version of the tests. It's quite puzzling given that effectively the same `CancelIoEx()` doesn't seem to block in the later test when it's followed by `CancelIo()` (which does block as expected). I'm going to try some more later but there's a good chance that there's some issue with the tests or I'm missing something obvious. Any help is appreciated!
Okay, mystery cleared up I think: `CancelIoEx()` doesn't block alright, but the thread doesn't terminate either until the pending operation is completed. I tweaked the test a bit and added a comment for good measure.