summaryrefslogtreecommitdiff
path: root/thread-pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread-pool.c')
-rw-r--r--thread-pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread-pool.c b/thread-pool.c
index 3735fd34bc..fbdd3ffa3a 100644
--- a/thread-pool.c
+++ b/thread-pool.c
@@ -140,7 +140,7 @@ static void do_spawn_thread(ThreadPool *pool)
pool->new_threads--;
pool->pending_threads++;
- qemu_thread_create(&t, worker_thread, pool, QEMU_THREAD_DETACHED);
+ qemu_thread_create(&t, "worker", worker_thread, pool, QEMU_THREAD_DETACHED);
}
static void spawn_thread_bh_fn(void *opaque)