3 ms·
Wine needs a high-performance implementation of sync primitives that even Microsoft has deprecated and discouraged, because there are real programs out there us
by wtallis 3y ago
Wine needs a high-performance implementation of sync primitives that even Microsoft has deprecated and discouraged, because there are real programs out there using those Windows APIs that Linux users want to run.
Most of what Wine wants added to the kernel should not have a scope of use beyond Wine, which is why the Wine devs have put so much effort into trying to solve these problems in userspace.
- zeusk 3y agoWhich sync primitive has Microsoft deprecated and discouraged? WaitForMultipleObjects and Nt(Set|Reset|Pulse)Event are used throughout Windows source code
- dblohm7 3y agoIt's still used, but PulseEvent has been discouraged for a long time. [1] https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-pulseevent#remarks https://learn.microsoft.com/en-us/windows/win32/api/winbase/... [2] https://devblogs.microsoft.com/oldnewthing/20050105-00/?p=36803 https://devblogs.microsoft.com/oldnewthing/20050105-00/?p=36...
- sumtechguy 3y agoI had a wince proj that someone had used that thing and did not understand the 'pulse' part of that. Where it could go off but if nothing was waiting it would not signal. So they were really confused why sometimes their home grown event queue would be delayed until another event went off and it would drain their queue.