thread hierarchy

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
Posts: 135
Joined: Wed Feb 04, 2015 5:03 pm
Location: CITEC, Bielefeld University, germany
Has thanked: 15 times
Been thanked: 24 times

thread hierarchy

Postby Thargon » Tue Feb 08, 2022 11:12 am

as already discussed here, I've written a patch that introduces a thread hierarchy feature to ChibiOS. This feature is configured via two new feature flags:
  • CH_CFG_USE_THREADHIERARCHY controls whether the feature is enabled at all. When disabled, there is zero overhead to existing ChibiOS.
  • CH_CFG_THREADHIERARCHY_ORDERED controls the ordering if sibling threads (children of the same parent). When disabled, children are ordered from youngest to oldest (most efficient). When enabled, children are ordered by their thread priority from high to low.
If you are interested in the feature, you can find the patch here:

Best regards

Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 6 guests