]> Git Repo - qemu.git/commit - qemu-coroutine.h
coroutine: add qemu_co_queue_restart_all()
authorStefan Hajnoczi <[email protected]>
Thu, 17 Nov 2011 13:40:26 +0000 (13:40 +0000)
committerKevin Wolf <[email protected]>
Mon, 5 Dec 2011 13:51:38 +0000 (14:51 +0100)
commite8ee5e4c476d5b0654d8f1271a2b7c065acc486e
treee418211d889c8d3500eaf1d3f655e27e83345695
parent3951690a4a29e031492090131d001e5047938631
coroutine: add qemu_co_queue_restart_all()

It's common to wake up all waiting coroutines.  Introduce the
qemu_co_queue_restart_all() function to do this instead of looping over
qemu_co_queue_next() in every caller.

Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/qcow2.c
qemu-coroutine-lock.c
qemu-coroutine.h
This page took 0.024202 seconds and 4 git commands to generate.