[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 04:21:38 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=26500

Dmitry Timoshkov <dmitry at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #7 from Dmitry Timoshkov <dmitry at 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.

-- 
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