mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 22:21:36 -04:00
startup设置优先级log
Signed-off-by: zhangyuhang72 <zhangyuhang72@h-partners.com> Change-Id: I195cfd50d30ac8508ee2caad0f1b518fd62e6425
This commit is contained in:
@@ -134,6 +134,7 @@ int32_t StartupManager::PreloadAppHintStartup(const AppExecFwk::BundleInfo& bund
|
||||
TAG_LOGE(AAFwkTag::STARTUP, "self is null");
|
||||
return;
|
||||
}
|
||||
TAG_LOGD(AAFwkTag::STARTUP, "setpriority:%{public}d", PRIORITY_PRELOAD_SO);
|
||||
auto ret = setpriority(PRIO_PROCESS, gettid(), PRIORITY_PRELOAD_SO);
|
||||
if (ret != ERR_OK) {
|
||||
TAG_LOGW(AAFwkTag::STARTUP, "setpriority fail, ret:%{public}d, err:%{public}d", ret, errno);
|
||||
|
||||
Reference in New Issue
Block a user