Skip to content

[Feature Request] Dynamic Prioritization #1134

@svenbieg

Description

@svenbieg

The problem is to define the priority on a task-level. Every task can call a critical function, so the priority has to be raised there.

My solution is a task-lock that works with a mutex. The task is marked exclusive, so interrupts are kept disabled after the task-switch until the task-lock is released.

You can take a look at the heap for example. It is used by every task and is a critical function. I'm using a task-lock there.

Best regards,

Sven Bieg

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions