summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwycwyhwyq <[email protected]>2025-02-27 17:46:32 +0800
committerRbb666 <[email protected]>2025-04-13 15:25:42 +0800
commitf13193ff92e47c39436e0254062927a39450e04a (patch)
treeb294bb5d826913916cc495ba12cf0456238d734b /include
parent2db2bf0cc7b8872e15a4b963a24f7d677f79060f (diff)
[src] fix mutex bug
Diffstat (limited to 'include')
-rw-r--r--include/rtsched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtsched.h b/include/rtsched.h
index 01951a2611..5aab9624a3 100644
--- a/include/rtsched.h
+++ b/include/rtsched.h
@@ -128,6 +128,7 @@ rt_err_t rt_sched_thread_yield(struct rt_thread *thread);
rt_err_t rt_sched_thread_close(struct rt_thread *thread);
rt_err_t rt_sched_thread_ready(struct rt_thread *thread);
rt_err_t rt_sched_thread_suspend(struct rt_thread *thread, rt_sched_lock_level_t level);
+rt_err_t rt_sched_thread_set_priority(struct rt_thread *thread, rt_uint8_t priority);
rt_err_t rt_sched_thread_change_priority(struct rt_thread *thread, rt_uint8_t priority);
rt_err_t rt_sched_thread_bind_cpu(struct rt_thread *thread, int cpu);
rt_uint8_t rt_sched_thread_is_suspended(struct rt_thread *thread);