From 6e845267b81e1daf96de1fff863817f9823351e2 Mon Sep 17 00:00:00 2001 From: liaoxingxing Date: Wed, 28 Aug 2024 09:09:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0uv=5F=5Fsubmit=5Fwork?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liaoxingxing --- src/threadpool.c | 3 +++ src/win/log_win.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/threadpool.c b/src/threadpool.c index 6b777d0..db6dac7 100644 --- a/src/threadpool.c +++ b/src/threadpool.c @@ -833,6 +833,9 @@ void uv__work_submit(uv_loop_t* loop, ffrt_task_attr_set_qos(&attr, ffrt_qos_background); break; default: +#ifdef USE_OHOS_DFX + UV_LOGI("Unknown work kind"); +#endif return; } diff --git a/src/win/log_win.c b/src/win/log_win.c index 463cd93..056c87c 100644 --- a/src/win/log_win.c +++ b/src/win/log_win.c @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. -- Gitee