From fde6ac6693cfe2bf2d016916ed686ff94fbc2e8c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 13 Jan 2017 09:08:11 +0100 Subject: Document CONFIGURE_MAXIMUM_THREAD_NAME_SIZE Update #2858. --- c-user/configuring_a_system.rst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/c-user/configuring_a_system.rst b/c-user/configuring_a_system.rst index 798a861..25ad360 100644 --- a/c-user/configuring_a_system.rst +++ b/c-user/configuring_a_system.rst @@ -1771,6 +1771,37 @@ NOTES: priority level. Reducing the number of priorities from 256 levels to sixteen (16) can reduce memory usage by about three (3) kilobytes. +.. COMMENT: === CONFIGURE_MAXIMUM_THREAD_NAME_SIZE === + +.. _Specifying the Maximum Thread Name Size + +Specifying the Maximum Thread Name Size +--------------------------------------- +.. index:: CONFIGURE_MAXIMUM_THREAD_NAME_SIZE +.. index:: maximum thread name size + +CONSTANT: + ``CONFIGURE_MAXIMUM_THREAD_NAME_SIZE`` + +DATA TYPE: + Unsigned integer (``size_t``). + +RANGE: + No restrictions. + +DEFAULT VALUE: + The default value is 16. This value was chosen for Linux compatibility, + see + `PTHREAD_SETNAME_NP(3) `_. + +DESCRIPTION: + This configuration parameter specifies the maximum thread name size + including the terminating `NUL` character. + +NOTE: + The size of the thread control block is increased by the maximum thread name + size. This configuration option is available since RTEMS 4.12. + .. COMMENT: === CONFIGURE_MINIMUM_TASK_STACK_SIZE === .. _Specifying the Minimum Task Size: -- cgit v1.2.3