linux-user: Use QemuMutex and QemuCond
commit959f593c0e010cc0ee2e47e7f45e66c0695683b7
authorSergey Fedorov <serge.fdrv@gmail.com>
Tue, 2 Aug 2016 17:27:37 +0000 (2 18:27 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Sep 2016 09:57:29 +0000 (27 11:57 +0200)
treeaed616d784deae8415b8ab971d6c86613afe64ca
parenta5403c69fcf2c946d166faa27e5db8436a00d183
linux-user: Use QemuMutex and QemuCond

Convert pthread_mutex_t and pthread_cond_t to QemuMutex and QemuCond.
This will allow to make some locks and conditional variables common
between user and system mode emulation.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <1470158864-17651-7-git-send-email-alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
linux-user/main.c