]> git.proxmox.com Git - mirror_qemu.git/commit - include/io/channel.h
io: Make qio_channel_yield() interruptible
authorKevin Wolf <kwolf@redhat.com>
Mon, 18 Feb 2019 13:09:32 +0000 (14:09 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 25 Feb 2019 14:03:19 +0000 (15:03 +0100)
commit6886ceaf61c2399419258246a064485e9b1e51ac
tree81609e35fb15b3b34e4edd2aef68e243ff32ca70
parent5ad81b4946baf948c65cf7e1436d9b74803c1280
io: Make qio_channel_yield() interruptible

Similar to how qemu_co_sleep_ns() allows preemption from an external
coroutine entry, allow reentering qio_channel_yield() early.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/io/channel.h
io/channel.c