diff options
| author | wycwyhwyq <[email protected]> | 2025-03-12 18:17:35 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-04-13 15:25:42 +0800 |
| commit | da1c5c788279dab423458dafa79a85c29a9e31f6 (patch) | |
| tree | 128609b2c10a5b1080923c0c89e9c773be4a01e8 /include | |
| parent | f13193ff92e47c39436e0254062927a39450e04a (diff) | |
add RT_THREAD_CTRL_SET_PRIORITY
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index a0bfeb48be..e214828c24 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -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 |
