qemu-e2k/include/qemu
Kevin Wolf 536fca7f7e coroutine: Introduce qemu_coroutine_enter_if_inactive()
In the context of asynchronous work, if we have a worker coroutine that
didn't yield, the parent coroutine cannot be reentered because it hasn't
yielded yet. In this case we don't even have to reenter the parent
because it will see that the work is already done and won't even yield.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
2017-01-09 13:30:52 +01:00
..
acl.h
atomic.h atomics: Add __nocheck atomic operations 2016-10-26 08:28:57 -07:00
base64.h
bcd.h
bitmap.h
bitops.h bitops: fix rol/ror when shift is zero 2016-11-15 10:05:50 +11:00
bswap.h
buffer.h
compatfd.h
compiler.h
config-file.h
coroutine_int.h
coroutine.h coroutine: Introduce qemu_coroutine_enter_if_inactive() 2017-01-09 13:30:52 +01:00
crc32c.h
cutils.h
envlist.h
error-report.h qemu-error: remove dependency of stubs on monitor 2016-11-01 16:06:57 +01:00
event_notifier.h
fifo8.h
fifo32.h
fprintf-fn.h
hbitmap.h hbitmap: serialization 2016-10-24 17:56:07 +02:00
help_option.h
host-utils.h
id.h
int128.h tcg: Add atomic128 helpers 2016-10-26 08:29:01 -07:00
iov.h
jhash.h
log.h log: Add locking to large logging blocks 2016-11-01 10:29:03 -06:00
main-loop.h main-loop: update comment for qemu_mutex_lock/unlock_iothread 2016-12-22 16:00:24 +01:00
memfd.h
mmap-alloc.h
module.h
notify.h
option_int.h
option.h
osdep.h nbd: Improve server handling of shutdown requests 2016-11-02 09:28:56 +01:00
path.h
processor.h
qdist.h
qht.h
queue.h
range.h
ratelimit.h
rcu_queue.h
rcu.h
readline.h
seqlock.h
sockets.h util/qemu-sockets: Make inet_connect_saddr() public 2016-10-31 16:49:13 +01:00
thread-posix.h qemu-thread: introduce QemuRecMutex 2016-10-28 21:50:18 +08:00
thread-win32.h qemu-thread: introduce QemuRecMutex 2016-10-28 21:50:18 +08:00
thread.h qemu-thread: introduce QemuRecMutex 2016-10-28 21:50:18 +08:00
throttle.h
timed-average.h
timer.h timer: fix misleading comment in timer.h 2016-12-22 16:00:24 +01:00
typedefs.h exec: introduce MemoryRegionCache 2016-12-22 16:00:23 +01:00
unicode.h
uri.h
uuid.h
xattr.h