Revision b681a1c7 include/block/coroutine.h

b/include/block/coroutine.h
130 130
 *
131 131
 * Returns true if a coroutine was restarted, false if the queue is empty.
132 132
 */
133
bool qemu_co_queue_next(CoQueue *queue);
133
bool coroutine_fn qemu_co_queue_next(CoQueue *queue);
134 134

  
135 135
/**
136 136
 * Restarts all coroutines in the CoQueue and leaves the queue empty.
137 137
 */
138
void qemu_co_queue_restart_all(CoQueue *queue);
138
void coroutine_fn qemu_co_queue_restart_all(CoQueue *queue);
139

  
140
/**
141
 * Enter the next coroutine in the queue
142
 */
143
bool qemu_co_enter_next(CoQueue *queue);
139 144

  
140 145
/**
141 146
 * Checks if the CoQueue is empty.

Also available in: Unified diff