http://bugs.winehq.org/show_bug.cgi?id=26500
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-22 05:33:25 CDT --- (In reply to comment #10)
- Windows uses synchronization object to prevent waiting thread to consume too
much CPU cycles by giving CPU to other running thread by waiting on this object. That's MSDN doc say. Am I right?
- Winelib does not use kernel object, so it:
2.a: Does not behave the way Windows API do;
kernel objects in Wine are implemented in wineserver, so making them behave like kernel-side objects, but that doesn't really matter.
2.b: Is suboptimal because of busy waits.
Where do you see busy waits? Using spin counts? If yes, that's exactly how spinning is supposed to work.