summaryrefslogtreecommitdiffstats
path: root/spec/acfg/if/max-thread-name-size.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acfg/if/max-thread-name-size.yml')
-rw-r--r--spec/acfg/if/max-thread-name-size.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/spec/acfg/if/max-thread-name-size.yml b/spec/acfg/if/max-thread-name-size.yml
new file mode 100644
index 00000000..6ce4ac2a
--- /dev/null
+++ b/spec/acfg/if/max-thread-name-size.yml
@@ -0,0 +1,31 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+appl-config-option-type: integer
+constraints:
+ max: ${/c/if/size_max:/name}
+ min: 0
+copyrights:
+- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
+default-value: 16
+description: |
+ The value of this configuration option defines the maximum thread name size
+ including the terminating ``NUL`` character.
+enabled-by: true
+index-entries:
+- maximum thread name size
+interface-type: appl-config-option
+links:
+- role: appl-config-group-member
+ uid: group-general
+- role: constraint
+ uid: constraint-memsz
+name: CONFIGURE_MAXIMUM_THREAD_NAME_SIZE
+notes: |
+ The default value was chosen for Linux compatibility, see
+ ${.:/document-reference/pthread-setname-np}.
+
+ The size of the thread control block is increased by the maximum thread name
+ size.
+
+ This configuration option is available since RTEMS 5.1.
+text: ''
+type: interface