summaryrefslogtreecommitdiffstats
path: root/hw/multiboot.c
diff options
context:
space:
mode:
authorPaolo Bonzini2011-12-12 17:21:34 +0100
committerAnthony Liguori2011-12-13 00:06:22 +0100
commitda5361cc685c004d8bb4e7c5e7b3a52c7aca2c56 (patch)
tree7fd18ead7e445c983db56417aecddc94b2ef8c2c /hw/multiboot.c
parentqemu-thread: implement joinable threads for Win32 (diff)
downloadqemu-da5361cc685c004d8bb4e7c5e7b3a52c7aca2c56.tar.gz
qemu-da5361cc685c004d8bb4e7c5e7b3a52c7aca2c56.tar.xz
qemu-da5361cc685c004d8bb4e7c5e7b3a52c7aca2c56.zip
ccid: make threads joinable
Destroying a mutex that another thread might have just unlocked is racy. It usually works, but you cannot do that in general and can lead to deadlocks or segfaults. Change ccid to use joinable threads instead. (Also, qemu_mutex_init/qemu_cond_init were missing). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/multiboot.c')
0 files changed, 0 insertions, 0 deletions