|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v2 5/7] block-copy: add QemuMutex lock for BlockCopyCallState list |
Date: | Fri, 28 May 2021 12:53:02 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 18/05/21 12:07, Emanuele Giuseppe Esposito wrote:
+ qemu_mutex_lock(&call_state->s->calls_lock); QLIST_INSERT_HEAD(&call_state->s->calls, call_state, list); + qemu_mutex_unlock(&call_state->s->calls_lock);
Let's just use tasks_lock here (maybe even rename it to just "lock"). Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |