|
@@ -371,17 +371,17 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(BQLLockAuto, bql_auto_unlock)
|
|
= bql_auto_lock(__FILE__, __LINE__)
|
|
= bql_auto_lock(__FILE__, __LINE__)
|
|
|
|
|
|
/*
|
|
/*
|
|
- * qemu_cond_wait_iothread: Wait on condition for the main loop mutex
|
|
|
|
|
|
+ * qemu_cond_wait_bql: Wait on condition for the Big QEMU Lock (BQL)
|
|
*
|
|
*
|
|
- * This function atomically releases the main loop mutex and causes
|
|
|
|
|
|
+ * This function atomically releases the Big QEMU Lock (BQL) and causes
|
|
* the calling thread to block on the condition.
|
|
* the calling thread to block on the condition.
|
|
*/
|
|
*/
|
|
-void qemu_cond_wait_iothread(QemuCond *cond);
|
|
|
|
|
|
+void qemu_cond_wait_bql(QemuCond *cond);
|
|
|
|
|
|
/*
|
|
/*
|
|
- * qemu_cond_timedwait_iothread: like the previous, but with timeout
|
|
|
|
|
|
+ * qemu_cond_timedwait_bql: like the previous, but with timeout
|
|
*/
|
|
*/
|
|
-void qemu_cond_timedwait_iothread(QemuCond *cond, int ms);
|
|
|
|
|
|
+void qemu_cond_timedwait_bql(QemuCond *cond, int ms);
|
|
|
|
|
|
/* internal interfaces */
|
|
/* internal interfaces */
|
|
|
|
|