!937 【IPC&RPC】空任务添加维测日志

Merge pull request !937 from Lixiaoying25/master
This commit is contained in:
openharmony_ci 2024-01-25 06:31:26 +00:00 committed by Gitee
commit fb1eb7a673
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -456,8 +456,10 @@ int NAPIRemoteObject::OnJsRemoteRequest(CallbackParam *jsParam)
return -1;
}
work->data = reinterpret_cast<void *>(jsParam);
ZLOGD(LOG_LABEL, "start nv queue work loop");
uv_queue_work(loop, work, [](uv_work_t *work) {}, [](uv_work_t *work, int status) {
ZLOGI(LOG_LABEL, "start nv queue work loop. desc:%{public}s", Str16ToStr8(descriptor_).c_str());
uv_queue_work(loop, work, [](uv_work_t *work) {
ZLOGI(LOG_LABEL, "enter work pool. code:%{public}u", (reinterpret_cast<CallbackParam *>(work->data))->code);
}, [](uv_work_t *work, int status) {
ZLOGI(LOG_LABEL, "enter thread pool");
CallbackParam *param = reinterpret_cast<CallbackParam *>(work->data);
napi_handle_scope scope = nullptr;