add RT_THREAD_CTRL_SET_PRIORITY

This commit is contained in:
wycwyhwyq
2025-03-12 18:17:35 +08:00
committed by Rbb666
parent f13193ff92
commit da1c5c7882
3 changed files with 16 additions and 3 deletions

View File

@@ -643,6 +643,7 @@ enum
#define RT_THREAD_CTRL_CHANGE_PRIORITY 0x02 /**< Change thread priority. */
#define RT_THREAD_CTRL_INFO 0x03 /**< Get thread information. */
#define RT_THREAD_CTRL_BIND_CPU 0x04 /**< Set thread bind cpu. */
#define RT_THREAD_CTRL_SET_PRIORITY 0x05 /**< Set thread priority. */
/**
* CPU usage statistics data