Statistics
| Branch: | Revision:

root / qemu-coroutine.h @ 2a2af967

History | View | Annotate | Download (5.6 kB)

# Date Author Comment
7e624667 01/26/2012 12:45 pm Stefan Hajnoczi

coroutine: add co_sleep_ns() coroutine sleep function

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

e8ee5e4c 12/05/2011 03:51 pm Stefan Hajnoczi

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 <>...

e9e6295b 12/05/2011 03:51 pm Zhi Yong Wu

CoQueue: introduce qemu_co_queue_wait_insert_head

Signed-off-by: Zhi Yong Wu <>
Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

12888904 08/23/2011 03:15 pm Aneesh Kumar K.V

coroutine: Add CoRwlock support

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Kevin Wolf <>

b96e9247 08/02/2011 04:53 pm Kevin Wolf

coroutines: Locks

Signed-off-by: Kevin Wolf <>

00dccaf1 08/01/2011 01:14 pm Kevin Wolf

coroutine: introduce coroutines

Asynchronous code is becoming very complex. At the same time
synchronous code is growing because it is convenient to write.
Sometimes duplicate code paths are even added, one synchronous and the
other asynchronous. This patch introduces coroutines which allow code...