On Mon Sep 15 09:23:59 2025 +0000, Elizabeth Figura wrote:
It's not clear, but I think this should actually set the event (i.e. it's "set while boosting priority", not "set the event's boost priority"). Tests would be helpful to confirm or refute this.
Indeed in my testing this is actually doing the former ("set while boosting priority"), but the actual priority boost happening seems to be negligible.
Maybe this also depends on the priority of the caller. My assumption would be that the idea here is to make a waiting thread on the event immediately runnable, so maybe a `NtSetEvent` + `NtYieldExecution` could also be potentially appropriate.