aboutsummaryrefslogtreecommitdiff
path: root/util/qemu-thread-posix.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-10-03 15:11:43 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-10-17 17:31:00 +0200
commitadd40e9777de139fb317ca6b1fb0dc142601cfcd (patch)
treebec5acdd2592edaa95f52afd6ec2526e7f390c49 /util/qemu-thread-posix.c
parent0f809e5fbebb36788aea3523be7f93c04f2c7f8c (diff)
downloadqemu-add40e9777de139fb317ca6b1fb0dc142601cfcd.zip
qemu-add40e9777de139fb317ca6b1fb0dc142601cfcd.tar.gz
qemu-add40e9777de139fb317ca6b1fb0dc142601cfcd.tar.bz2
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 'util/qemu-thread-posix.c')
0 files changed, 0 insertions, 0 deletions