diff options
Diffstat (limited to 'utils/MsgTask.cpp')
-rw-r--r-- | utils/MsgTask.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/MsgTask.cpp b/utils/MsgTask.cpp index f33d602..78a3fe0 100644 --- a/utils/MsgTask.cpp +++ b/utils/MsgTask.cpp @@ -33,6 +33,7 @@ #include <MsgTask.h> #include <msg_q.h> #include <loc_log.h> +#include <platform_lib_includes.h> static void LocMsgDestroy(void* msg) { delete (LocMsg*)msg; @@ -77,7 +78,7 @@ void MsgTask::sendMsg(const LocMsg* msg) const { void MsgTask::prerun() { // make sure we do not run in background scheduling group - set_sched_policy(gettid(), SP_FOREGROUND); + platform_lib_abstraction_set_sched_policy(platform_lib_abstraction_gettid(), PLA_SP_FOREGROUND); } bool MsgTask::run() { |