From cf218714791a78c91db34a4aa9e33348923ad659 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Mon, 12 Dec 2011 17:21:31 +0100 Subject: 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 Signed-off-by: Paolo Bonzini Signed-off-by: Anthony Liguori --- ui/vnc-jobs-async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') 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 */ } -- cgit v1.2.1