mirror of
https://gitee.com/openharmony/resourceschedule_ffrt
synced 2024-11-26 23:00:25 +00:00
Merge branch 'master' of gitee.com:goldenroz/resourceschedule_ffrt into master
This commit is contained in:
commit
26a95c19bf
12
BUILD.gn
12
BUILD.gn
@ -222,16 +222,16 @@ ohos_shared_library("libffrt") {
|
||||
|
||||
ohos_prebuilt_etc("blacklist_cfg") {
|
||||
relative_install_dir = "ffrt"
|
||||
source = "blacklist.conf"
|
||||
source = "worker_monitor.conf"
|
||||
part_name = "ffrt"
|
||||
subsystem_name = "resourceschedule"
|
||||
install_enable = true
|
||||
install_images = [
|
||||
"system"
|
||||
]
|
||||
install_images = [ "system" ]
|
||||
}
|
||||
|
||||
group("ffrt_ndk") {
|
||||
deps = [ ":libffrt",
|
||||
":blacklist_cfg" ]
|
||||
deps = [
|
||||
":libffrt",
|
||||
":blacklist_cfg",
|
||||
]
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ namespace ffrt {
|
||||
WorkerMonitor::WorkerMonitor()
|
||||
{
|
||||
// 从配置文件读取黑名单
|
||||
std::string filename = "/etc/ffrt/blacklist.conf";
|
||||
std::string filename = "/etc/ffrt/worker_monitor.conf";
|
||||
std::ifstream file(filename);
|
||||
std::string skipProcess;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user