[Bug 22580] RegisterWaitForSingleObject() with tmo=0 causes 100% CPU load

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 8 04:22:34 CDT 2010


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





--- Comment #23 from joakim.tjernlund at transmode.se  2010-05-08 04:22:33 ---
(In reply to comment #22)
> (In reply to comment #21)
> > hmm, in those failed cases even unregister fails so it seems
> > one should not use tmo == 0 in later versions.
> > So my test case isn't valid for later versions of windows dunno
> > how to encode that into the test case.
> 
> The problem may be related to win9x version of crypt32.dll. Try with
> win2k+ version instead and see how it goes.

No, the problem is that <= XP expects tmo = 0 to behave as my patch does
and never Windows has changed behavior. See comment #19
It seems like tmo = 0 and !execcuteOnce is an invalid combo as
even unregister fails.

If the above is correct, then my patch improves Wine for all Windows
versions. Older SW that do use tmo = 0 and !execcuteOnce works
and newer SW does not use this combo at all as it seems invalid.

Does anyone have a better explanation for what tmo = 0 and !execcuteOnce
is expected to do on >= Vista?

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