From 6e5a894d8e91214f4d34d28c624cb9bf332050f5 Mon Sep 17 00:00:00 2001 From: Consti10 Date: Wed, 10 Apr 2024 09:29:23 +0200 Subject: [PATCH] add a few priority stubs for use in openhd --- wifibroadcast/src/HelperSources/SchedulingHelper.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wifibroadcast/src/HelperSources/SchedulingHelper.hpp b/wifibroadcast/src/HelperSources/SchedulingHelper.hpp index 9e7600bd..898a90a5 100644 --- a/wifibroadcast/src/HelperSources/SchedulingHelper.hpp +++ b/wifibroadcast/src/HelperSources/SchedulingHelper.hpp @@ -15,6 +15,11 @@ namespace SchedulingHelper { +// Only 'low' in comparison to other realtime tasks +static constexpr int PRIORITY_REALTIME_LOW=30; +static constexpr int PRIORITY_REALTIME_MID=40; +static constexpr int PRIORITY_REALTIME_HIGH=50; + // this thread should run as close to realtime as possible // https://youtu.be/NrjXEaTSyrw?t=647 // COMMENT: Please don't ever use 99 for your application, there are some kernel