summaryrefslogtreecommitdiffstats
path: root/c-user/configuring_a_system.rst
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-13 09:08:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-13 09:11:06 +0100
commitfde6ac6693cfe2bf2d016916ed686ff94fbc2e8c (patch)
tree933060d356d239bc61cd2e30529b67cbf98b7b3b /c-user/configuring_a_system.rst
parentshell: Update cpuuse and stackuse sample output (diff)
downloadrtems-docs-fde6ac6693cfe2bf2d016916ed686ff94fbc2e8c.tar.bz2
Document CONFIGURE_MAXIMUM_THREAD_NAME_SIZE
Update #2858.
Diffstat (limited to 'c-user/configuring_a_system.rst')
-rw-r--r--c-user/configuring_a_system.rst31
1 files changed, 31 insertions, 0 deletions
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) <http://man7.org/linux/man-pages/man3/pthread_setname_np.3.html>`_.
+
+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: