aboutsummaryrefslogtreecommitdiff
path: root/qapi/qapi-util.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-05-15 12:00:54 +0200
committerJeff Cody <jcody@redhat.com>2017-05-16 10:34:17 -0400
commit34db05e7ffe8d61ca7288b9532ad6e8300853318 (patch)
treec62780f726cfa639dbdbaee15c64169628dee9c1 /qapi/qapi-util.c
parent675a775633e68bf8b426a896fea5b93a4f4ff1cc (diff)
downloadqemu-34db05e7ffe8d61ca7288b9532ad6e8300853318.zip
qemu-34db05e7ffe8d61ca7288b9532ad6e8300853318.tar.gz
qemu-34db05e7ffe8d61ca7288b9532ad6e8300853318.tar.bz2
curl: never invoke callbacks with s->mutex held
All curl callbacks go through curl_multi_do, and hence are called with s->mutex held. Note that with comments, and make curl_read_cb drop the lock before invoking the callback. Likewise for curl_find_buf, where the callback can be invoked by the caller. Cc: qemu-stable@nongnu.org Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 20170515100059.15795-3-pbonzini@redhat.com Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'qapi/qapi-util.c')
0 files changed, 0 insertions, 0 deletions