[PATCH 19/23] winmm: Wake up timer after it finished

Maarten Lankhorst m.b.lankhorst at gmail.com
Fri May 21 14:31:26 CDT 2010


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


--------------050803070505010309040301--



More information about the wine-patches mailing list