Patches introducing qemu_thread_join have floated around multiple times. Now I found a bug that requires it to be fixed, so perhaps this time it will be more successful.
For the actual bug, see patch 4. v1->v2: remove spurious submodule change, fix blank lines Jan Kiszka (2): qemu-thread: add API for joinable threads qemu-thread: implement joinable threads for POSIX Paolo Bonzini (2): qemu-thread: implement joinable threads for Win32 ccid: make threads joinable cpus.c | 6 ++- hw/ccid-card-emulated.c | 25 +++++------ qemu-thread-posix.c | 35 ++++++++++++++-- qemu-thread-win32.c | 107 ++++++++++++++++++++++++++++++---------------- qemu-thread-win32.h | 5 +- qemu-thread.h | 8 +++- ui/vnc-jobs-async.c | 2 +- 8 files changed, 127 insertions(+), 63 deletions(-) -- 1.7.7.1