optimize CPU cycle

Signed-off-by: yangqilin <yangqilin5@huawei.com>
This commit is contained in:
yangqilin 2024-10-08 14:47:20 +08:00
parent 38b928d77f
commit f42ee5b50a

View File

@ -29,7 +29,7 @@ void ThreadPrivateDataCtl::KeyInit()
return;
}
if (pthread_key_create(&tableKey_, nullptr) != 0) {
WLOGE("Failed to creat thread key.")
WLOGE("Failed to creat thread key.");
return;
}
WLOGD("pthread_key_create. key = %{public}d", key_);