Changing Priority

Changing Priority#

inline aw_resume_on tmc::change_priority(size_t Priority)#

Equivalent to resume_on(tmc::current_executor()).with_priority(Priority);

inline size_t tmc::current_priority() noexcept#

Returns the current task’s priority. Returns 0 (highest priority) if this thread is not associated with an executor.