diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-07-30 06:24:00 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-07-30 07:21:06 +0200 |
commit | 5ee70c548708d39dabdb595d54029cf762e2d4c4 (patch) | |
tree | 7ed6e21af208fc3164c57f6dbc4e2a81c62cf556 /cpukit/include/rtems/score | |
parent | libdl/arm: Fix ARM mode trampoline parsing of relocs (diff) | |
download | rtems-5ee70c548708d39dabdb595d54029cf762e2d4c4.tar.bz2 |
Add and use THREAD_DEFAULT_MAXIMUM_NAME_SIZE
Diffstat (limited to 'cpukit/include/rtems/score')
-rw-r--r-- | cpukit/include/rtems/score/thread.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/thread.h b/cpukit/include/rtems/score/thread.h index b3cfd91e93..fd99e8bb77 100644 --- a/cpukit/include/rtems/score/thread.h +++ b/cpukit/include/rtems/score/thread.h @@ -940,6 +940,15 @@ extern const size_t _Thread_Control_add_on_count; extern const size_t _Thread_Initial_thread_count; /** + * @brief The default maximum size of a thread name in characters (including + * the terminating '\0' character). + * + * This is the default value for the application configuration option + * CONFIGURE_MAXIMUM_THREAD_NAME_SIZE. + */ +#define THREAD_DEFAULT_MAXIMUM_NAME_SIZE 16 + +/** * @brief Maximum size of a thread name in characters (including the * terminating '\0' character). * |