http://bugs.winehq.org/show_bug.cgi?id=22580 Summary: RegisterWaitForSingleObject() with tmo=0 causes 100% CPU load Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs(a)winehq.org ReportedBy: joakim.tjernlund(a)transmode.se Created an attachment (id=27708) --> (http://bugs.winehq.org/attachment.cgi?id=27708) RegisterWaitForSingleObject() fix special tmo == 0 case. At http://msdn.microsoft.com/en-us/library/aa332406%28VS.71%29.aspx one can read: "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." timeOutInterval == 0 makes the above false and the timer should NOT be reset, the attached patch fixes that. -- 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.