add RT_THREAD_CTRL_SET_PRIORITY

This commit is contained in:
wycwyhwyq
2025-04-10 10:20:21 +08:00
committed by Rbb666
parent da1c5c7882
commit 12de72a462
5 changed files with 26 additions and 51 deletions

View File

@@ -643,7 +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. */
#define RT_THREAD_CTRL_RESET_PRIORITY 0x05 /**< Reset thread priority. */
/**
* CPU usage statistics data