Aets. Perf fixes. X PV fixes

This commit is contained in:
korenkonder
2023-03-19 23:27:00 +03:00
parent e14fcd4f36
commit bfec5625ee
45 changed files with 3687 additions and 1641 deletions
+9 -4
View File
@@ -101,17 +101,22 @@ namespace system_startup_detail {
}
}
void task_system_startup_init() {
bool task_system_startup_add_task() {
if (!task_system_startup)
task_system_startup = new system_startup_detail::TaskSystemStartup;
}
bool task_system_startup_add_task() {
return app::TaskWork::AddTask(task_system_startup, "SYSTEM_STARTUP");
}
bool task_system_startup_del_task() {
return task_system_startup->DelTask();
if (!app::TaskWork::CheckTaskReady(task_system_startup)) {
delete task_system_startup;
task_system_startup = 0;
return true;
}
task_system_startup->DelTask();
return false;
}
void task_system_startup_free() {