[Bug 45524] Add a futex-based implementation of condition variables

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jul 27 23:14:27 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45524

--- Comment #7 from Zebediah Figura <z.figura12 at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list