summaryrefslogtreecommitdiff
path: root/sdl_zoom.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-03-19 11:30:35 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-03-27 14:05:07 +0100
commitca5a2a4b12bd44762a5106c9352eafd878bbd52f (patch)
treec4b9ed0f3cc33fc258df8d6e83d891cd7a4184df /sdl_zoom.h
parent06b611c48edb1bf0301c3e7fe49dec2b9feaaf89 (diff)
downloadqemu-ca5a2a4b12bd44762a5106c9352eafd878bbd52f.tar.gz
qemu-ca5a2a4b12bd44762a5106c9352eafd878bbd52f.tar.bz2
qemu-ca5a2a4b12bd44762a5106c9352eafd878bbd52f.zip
fix race between timer firing vs. alarm_timer->pending = 0
The period for Win32 timers is very short and always the same independent of dynticks, so it's possible that the timer fires before qemu_run_all_timers has reset alarm_timer->pending to zero. Reset alarm_timer->pending before rearming. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'sdl_zoom.h')
0 files changed, 0 insertions, 0 deletions