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

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 14 13:19:45 CDT 2010


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





--- Comment #44 from joakim.tjernlund at transmode.se  2010-05-14 13:19:44 ---
(In reply to comment #43)
> (In reply to comment #42)
> > I do wonder if GetVersion() works in all parts of Wine?
> 
> Of course it does.
OK, good to know
> 
> It would be far more helpful to focus on the crypt32 error, i.e. to see why the
> builtin version of crypt32 doesn't work.  Please open a new bug for that, and
> attach a +crypt log to it.

The crypt32 error comes from calling RegisterWaitForSingleObject() with tmo ==
0
this is legal on < Vista and implies executeOnlyOnce. However never Windows
has dropped the "implies executeOnlyOnce" so you get a loop that consumes 
100% CPU. Still no one has justified the new behavior as as something useful,
I think it is useless and newer apps just avoids it. Someone please prove me 
wrong.

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