summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-05-17 15:51:25 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-05-24 16:17:56 +0200
commitb84c4586234b26ccc875595713f6f4491e5b3385 (patch)
treeecc4340be4db4dacf16d081eb110f07bd94c20fd /scripts/qapi-types.py
parentbd91ecbf5b43b52321c4d938e16a612b9c68bf06 (diff)
downloadfocaccia-qemu-b84c4586234b26ccc875595713f6f4491e5b3385.tar.gz
focaccia-qemu-b84c4586234b26ccc875595713f6f4491e5b3385.zip
coroutine: protect global pool with a mutex
The coroutine freelist is a global pool of unused coroutines.  It avoids
the setup/teardown overhead associated with the coroutine lifecycle.
Since the pool is global, we need to synchronize access so that
coroutines can be used outside the BQL.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions