-
Aravinda Prasad authored
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>Aravinda Prasad authoredIntroduce 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>
Loading