summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorPaolo Bonzini2013-10-03 15:11:43 +0200
committerPaolo Bonzini2013-10-17 17:31:00 +0200
commitadd40e9777de139fb317ca6b1fb0dc142601cfcd (patch)
treebec5acdd2592edaa95f52afd6ec2526e7f390c49 /scripts/switch-timer-api
parenttimer: extract timer_mod_ns_locked and timerlist_rearm (diff)
downloadqemu-add40e9777de139fb317ca6b1fb0dc142601cfcd.tar.gz
qemu-add40e9777de139fb317ca6b1fb0dc142601cfcd.tar.xz
qemu-add40e9777de139fb317ca6b1fb0dc142601cfcd.zip
timer: add timer_mod_anticipate and timer_mod_anticipate_ns
These let a user anticipate the deadline of a timer, atomically with other sites that call the function. This helps avoiding complicated lock hierarchies. Reviewed-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions