[PATCH 1/2] winmm: Use condition variable to sleep in timer thread.