qemu-e2k/include
Stefan Hajnoczi 978f2205c7 qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe
Introduce QEMUTimerList->active_timers_lock to protect the linked list
of active timers.  This allows qemu_timer_mod_ns() to be called from any
thread.

Note that vm_clock is not thread-safe and its use of
qemu_clock_has_timers() works fine today but is also not thread-safe.

The purpose of this patch is to eventually let device models set or
cancel timers from a vcpu thread without holding the global mutex.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-09-18 15:48:33 +02:00
..
block block: Error parameter for create functions 2013-09-12 10:12:48 +02:00
disas
exec exec: Simplify the guest physical memory allocation hook 2013-09-12 11:45:31 -05:00
fpu
hw Merge remote-tracking branch 'kraxel/usb.89' into staging 2013-09-11 14:46:21 -05:00
migration
monitor
net net: Rename send_queue to incoming_queue 2013-09-06 17:01:26 +02:00
qapi error: Add error_set_win32 and error_setg_win32 2013-09-09 14:17:57 -05:00
qemu qemu-timer: make qemu_timer_mod_ns() and qemu_timer_del() thread-safe 2013-09-18 15:48:33 +02:00
qom QOM CPUState refactorings / X86CPU 2013-09-03 12:33:32 -05:00
sysemu Merge remote-tracking branch 'bonzini/scsi-next' into staging 2013-09-17 09:50:23 -05:00
ui
config.h
elf.h
glib-compat.h
qemu-common.h qmp: add interface blockdev-snapshot-delete-internal-sync 2013-09-12 10:12:47 +02:00
qemu-io.h
trace.h