« Previous | Next » 

Revision da5361cc

IDda5361cc685c004d8bb4e7c5e7b3a52c7aca2c56

Added by Paolo Bonzini over 12 years ago

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 <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences