diff options
author | Aravinda Prasad | 2020-01-30 19:44:17 +0100 |
---|---|---|
committer | David Gibson | 2020-02-03 01:33:10 +0100 |
commit | 19e067e032232b098a999dab15c6f0c8039114bd (patch) | |
tree | d70cec5a604d36139a22ecc7638fc438f5dc312d /include/hw/ppc/spapr.h | |
parent | target/ppc/cpu.h: Put macro parameter in parentheses (diff) | |
download | qemu-19e067e032232b098a999dab15c6f0c8039114bd.tar.gz qemu-19e067e032232b098a999dab15c6f0c8039114bd.tar.xz qemu-19e067e032232b098a999dab15c6f0c8039114bd.zip |
Wrapper function to wait on condition for the main loop mutex
Introduce a wrapper function to wait on condition for
the main loop mutex. This function atomically releases
the main loop mutex and causes the calling thread to
block on the condition. This wrapper is required because
qemu_global_mutex is a static variable.
Signed-off-by: Aravinda Prasad <arawinda.p@gmail.com>
Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20200130184423.20519-2-ganeshgr@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/spapr.h')
0 files changed, 0 insertions, 0 deletions