This patch removes calling the SchedPriority::Set(0) from the launchpad
library. After this patch is applied, the loader process should reset
the priority to zero itself.
Change-Id: I93b1e435ab4ebbe9d21b790c547010e39321dabe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
#include <ini_parser.hh>
#include <plugin.hh>
#include <procfs.hh>
+#include <sched_priority.hh>
#include <user_tracer.hh>
#include <util.hh>
_E("Plugin::PrepareApp() is failed. error(%d)", ret);
_exit(EXIT_FAILURE);
}
+
+ SchedPriority::Set(0);
}
static int OnLaunch(int argc, char** argv, const char* app_path,
#include <aul_keys.hh>
#include <procfs.hh>
+#include <sched_priority.hh>
#include <user_tracer.hh>
#include <util.hh>
InitializeElementary();
hw_acc_config_.reset(new launchpad::HWAccelerationConfig());
+ SchedPriority::Set(0);
}
int LaunchpadLoader::OnLaunch(const LaunchArgs& args) {
return -1;
}
- SchedPriority::Set(0);
OnAdapterLoopBegin();
return OnTerminate();
}