Maarten Lankhorst : winmm: Wake up timer after the timer list is empty.
Module: wine Branch: master Commit: 3e5f7f49fe12e87d7ecd30f0969e99814dfb0e15 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3e5f7f49fe12e87d7ecd30f096... Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Fri May 21 21:31:26 2010 +0200 winmm: Wake up timer after the timer list is empty. --- dlls/winmm/time.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dlls/winmm/time.c b/dlls/winmm/time.c index 3d45fd9..e692fb6 100644 --- a/dlls/winmm/time.c +++ b/dlls/winmm/time.c @@ -369,8 +369,11 @@ MMRESULT WINAPI timeKillEvent(UINT wID) break; } } - if (list_empty(&timer_list)) + if (list_empty(&timer_list)) { + char c = 'q'; TIME_TimeToDie = 1; + write(TIME_fdWake[1], &c, sizeof(c)); + } LeaveCriticalSection(&WINMM_cs); if (!lpSelf)
participants (1)
-
Alexandre Julliard