mirror of
https://gitee.com/openharmony/communication_ipc
synced 2024-11-23 07:50:24 +00:00
!937 【IPC&RPC】空任务添加维测日志
Merge pull request !937 from Lixiaoying25/master
This commit is contained in:
commit
fb1eb7a673
@ -456,8 +456,10 @@ int NAPIRemoteObject::OnJsRemoteRequest(CallbackParam *jsParam)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
work->data = reinterpret_cast<void *>(jsParam);
|
work->data = reinterpret_cast<void *>(jsParam);
|
||||||
ZLOGD(LOG_LABEL, "start nv queue work loop");
|
ZLOGI(LOG_LABEL, "start nv queue work loop. desc:%{public}s", Str16ToStr8(descriptor_).c_str());
|
||||||
uv_queue_work(loop, work, [](uv_work_t *work) {}, [](uv_work_t *work, int status) {
|
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");
|
ZLOGI(LOG_LABEL, "enter thread pool");
|
||||||
CallbackParam *param = reinterpret_cast<CallbackParam *>(work->data);
|
CallbackParam *param = reinterpret_cast<CallbackParam *>(work->data);
|
||||||
napi_handle_scope scope = nullptr;
|
napi_handle_scope scope = nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user