Skip to content

Commit

Permalink
add a few priority stubs for use in openhd
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Apr 10, 2024
1 parent a3893b9 commit 6e5a894
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wifibroadcast/src/HelperSources/SchedulingHelper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e5a894

Please sign in to comment.