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

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 7 01:17:13 CDT 2010


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





--- Comment #5 from joakim.tjernlund at transmode.se  2010-05-07 01:17:13 ---
hmm, I thought I did.

Test case is IE6 using https, installed with ies4linux.
I know ies4linux isn't supported but that is besides the point.

The text
 "If the timeOutInterval parameter is not zero (0) and the executeOnlyOnce
  parameter is false, the timer is reset every time the event is signaled
  or the time-out interval elapses."
is pretty clear.

Also it makes sense from a logical point of view. Using a zero
timeout will cause an endless loop as impl. today and that does not
make sense.
Either one can forbid timeout == 0 or add some special handling.
Clearly only the latter is appropriate and the text outlines the
special handling.

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