diff options
| author | Paolo Bonzini | 2010-03-19 11:30:35 +0100 |
|---|---|---|
| committer | Aurelien Jarno | 2010-03-27 14:05:07 +0100 |
| commit | ca5a2a4b12bd44762a5106c9352eafd878bbd52f (patch) | |
| tree | c4b9ed0f3cc33fc258df8d6e83d891cd7a4184df /linux-user | |
| parent | qemu-io: Fix return value handling of bdrv_open (diff) | |
| download | qemu-ca5a2a4b12bd44762a5106c9352eafd878bbd52f.tar.gz qemu-ca5a2a4b12bd44762a5106c9352eafd878bbd52f.tar.xz 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 'linux-user')
0 files changed, 0 insertions, 0 deletions
