summaryrefslogtreecommitdiff
path: root/utils/MsgTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/MsgTask.cpp')
-rw-r--r--utils/MsgTask.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/MsgTask.cpp b/utils/MsgTask.cpp
index 80abeec..eaead5c 100644
--- a/utils/MsgTask.cpp
+++ b/utils/MsgTask.cpp
@@ -32,8 +32,9 @@
#include <unistd.h>
#include <MsgTask.h>
#include <msg_q.h>
+#include <log_util.h>
#include <loc_log.h>
-#include <platform_lib_includes.h>
+#include <loc_pla.h>
static void LocMsgDestroy(void* msg) {
delete (LocMsg*)msg;
@@ -82,7 +83,7 @@ void MsgTask::sendMsg(const LocMsg* msg) const {
void MsgTask::prerun() {
// make sure we do not run in background scheduling group
- platform_lib_abstraction_set_sched_policy(platform_lib_abstraction_gettid(), PLA_SP_FOREGROUND);
+ set_sched_policy(gettid(), SP_FOREGROUND);
}
bool MsgTask::run() {