summaryrefslogtreecommitdiffstats
path: root/spec/acfg/opt/maxthreadnamesize.yml
blob: d9328d221fc783381714abcd78986e3b1d458535 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
appl-config-option-type: integer
constraints:
  max: '``SIZE_MAX``'
  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: ../general
- role: constraint
  uid: constraintmemsz
name: CONFIGURE_MAXIMUM_THREAD_NAME_SIZE
notes: |
  The default value was chosen for Linux compatibility, see
  `PTHREAD_SETNAME_NP(3) <http://man7.org/linux/man-pages/man3/pthread_setname_np.3.html>`_.

  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