https://bugs.winehq.org/show_bug.cgi?id=45524
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- (In reply to Dmitry Timoshkov from comment #6)
Why not move fast_wake() call into the NtReleaseKeyedEvent() implementation?
If you're envisioning using the key as the pointer to the futex word, that won't work. The key doesn't have to be a valid pointer; there are tests for this in ntdll:om.
If you're envisioning using some internal field as the futex word (and then copying most of the logic from the server to ntdll) I think that wouldn't work since keyed events need to be cross-process.