Home
last modified time | relevance | path

Searched refs:waiters (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/util/
H A Dqemu-coroutine-lock.c240 int waiters, i; in qemu_co_mutex_lock() local
251 waiters = qatomic_cmpxchg(&mutex->locked, 0, 1); in qemu_co_mutex_lock()
252 if (waiters != 0) { in qemu_co_mutex_lock()
253 while (waiters == 1 && ++i < 1000) { in qemu_co_mutex_lock()
262 waiters = qatomic_fetch_inc(&mutex->locked); in qemu_co_mutex_lock()
265 if (waiters == 0) { in qemu_co_mutex_lock()
/openbmc/qemu/docs/spin/
H A Daio_notify_bug.promela116 * If event stayed always true, the waiters would be busy looping.
117 * If event stayed always false, the waiters would be sleeping
H A Daio_notify_accept.promela128 * If event stayed always true, the waiters would be busy looping.
129 * If event stayed always false, the waiters would be sleeping