http://bugs.winehq.org/show_bug.cgi?id=26500
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-22 04:21:38 CDT --- (In reply to comment #6)
As you can see, a kernel synchro object is used in Windows for waiting the thread owning the lock. The same behaviour (except spinning) is realized in libpthread. So, why should WineLib have a very different suboptimal behaviour?
Because Wine implements win32 API and not posix one. Spinning is an important part of the implementation.