aboutsummaryrefslogtreecommitdiff
path: root/block/nbd.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-12-12 17:21:34 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-12 17:06:22 -0600
commitda5361cc685c004d8bb4e7c5e7b3a52c7aca2c56 (patch)
tree7fd18ead7e445c983db56417aecddc94b2ef8c2c /block/nbd.c
parent403e633126b7a781ecd48a29e3355770d46bbf1a (diff)
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 'block/nbd.c')
0 files changed, 0 insertions, 0 deletions