mirror of https://github.com/xqemu/xqemu.git
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1 iQEcBAABAgAGBQJXOmObAAoJEJykq7OBq3PI7YYH/jbSAv/ZcB+d+buKggwEXudF 5R20gtPIpCf8YzKCsx2OGD+/+Jor9PwFaFPwawcXDV7ydpM+D7hQ/QQAINTyZVis d5jpCGC0GReclVGZMsZptBFJxaUGL+2KtU7We2rmE1GMAMPxAhqxK2Cs6uPh6VLs IoD9ssfXKFqPY1B1vRDCEiDZofzyyp7is43xFY0WasZrAZg0j13EJoX2L5f1vg7A bfJLa+4VGQ5fJIuJMKcE6AttVa68YcKjVijNskUYfz0hYU/og/S5QeXJSSqjNSLw jtdY5M7wKiUcpWBE8Cs9RDIdYY4YNzS08UXPvsUPQoPDPKzmjaGcRJYUlDTZ/qg= =/zXS -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging # gpg: Signature made Tue 17 May 2016 01:19:39 BST using RSA key ID 81AB73C8 # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" # gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" * remotes/stefanha/tags/block-pull-request: rfifolock: no need to get thread identifier when nesting Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
3f5e34a45c
|
@ -58,9 +58,9 @@ void rfifolock_lock(RFifoLock *r)
|
|||
}
|
||||
qemu_cond_wait(&r->cond, &r->lock);
|
||||
}
|
||||
qemu_thread_get_self(&r->owner_thread);
|
||||
}
|
||||
|
||||
qemu_thread_get_self(&r->owner_thread);
|
||||
r->nesting++;
|
||||
qemu_mutex_unlock(&r->lock);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue