[Bug 26500] Suggestion: throw out custom realization and use pthread_mutex_t
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Mar 22 05:33:25 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=26500
--- Comment #11 from Dmitry Timoshkov <dmitry at codeweavers.com> 2011-03-22 05:33:25 CDT ---
(In reply to comment #10)
> 1. 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?
>
> 2. 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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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