summaryrefslogtreecommitdiff
path: root/ui/vnc-jobs-async.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-12-12 17:21:31 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-12 17:06:22 -0600
commitcf218714791a78c91db34a4aa9e33348923ad659 (patch)
tree3ebd3e50d5360b505c3b89ff5659e428789e5367 /ui/vnc-jobs-async.c
parentd396a657baec8c6b7aa0c888746e0e2f78303650 (diff)
downloadqemu-cf218714791a78c91db34a4aa9e33348923ad659.zip
qemu-thread: add API for joinable threads
Split from Jan's original qemu-thread-posix.c patch. No semantic change, just introduce the new API that POSIX and Win32 implementations will conform to. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ui/vnc-jobs-async.c')
-rw-r--r--ui/vnc-jobs-async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/vnc-jobs-async.c b/ui/vnc-jobs-async.c
index de5ea6b5d8..9b3016c129 100644
--- a/ui/vnc-jobs-async.c
+++ b/ui/vnc-jobs-async.c
@@ -318,7 +318,7 @@ void vnc_start_worker_thread(void)
return ;
q = vnc_queue_init();
- qemu_thread_create(&q->thread, vnc_worker_thread, q);
+ qemu_thread_create(&q->thread, vnc_worker_thread, q, QEMU_THREAD_DETACHED);
queue = q; /* Set global queue */
}