From ff8705daf7c7fca7af48a84596c92628d961cd10 Mon Sep 17 00:00:00 2001 From: liaoxingxing Date: Thu, 26 Dec 2024 16:55:26 +0800 Subject: [PATCH] modify threadpool.c Signed-off-by: liaoxingxing --- src/threadpool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/threadpool.c b/src/threadpool.c index d67dc1b..3f058d7 100644 --- a/src/threadpool.c +++ b/src/threadpool.c @@ -74,7 +74,7 @@ static QUEUE statistic_works; static uv_cond_t dump_cond; static uv_thread_t dump_thread; -static void uv_dump_worker(void* arg) { +static void uv_dump_worker(void* arg) { struct uv__statistic_work* w; struct uv__queue* q; uv_sem_post((uv_sem_t*) arg); @@ -797,7 +797,7 @@ void uv__ffrt_work(ffrt_executor_task_t* data, ffrt_qos_t qos) rdlock_closed_uv_loop_rwlock(); if (loop->magic != UV_LOOP_MAGIC) { rdunlock_closed_uv_loop_rwlock(); - UV_LOGE("uv_loop(%{public}zu:%{public}#x) is invalid", + UV_LOGE("uv_loop(%{public}zu:%{public}#x), task is invalid", (size_t)loop, loop->magic); return; } -- Gitee