Changeset 806806c in rtems-docs


Ignore:
Timestamp:
Aug 7, 2018, 6:37:22 AM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
135b90c
Parents:
8fd9e62
Message:

c-user: CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE

Close #3434.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c-user/configuring_a_system.rst

    r8fd9e62 r806806c  
    12281228    All POSIX threads have floating point enabled.
    12291229
     1230.. index:: CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE
     1231.. index:: minimum POSIX thread stack size
     1232
     1233.. _CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE:
     1234
     1235CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE
     1236-----------------------------------------
     1237
     1238CONSTANT:
     1239    ``CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE``
     1240
     1241DATA TYPE:
     1242    Unsigned integer (``size_t``).
     1243
     1244RANGE:
     1245    Positive.
     1246
     1247DEFAULT VALUE:
     1248    The default value is two times the value of
     1249    :ref:`CONFIGURE_MINIMUM_TASK_STACK_SIZE <CONFIGURE_MINIMUM_TASK_STACK_SIZE>`.
     1250
     1251DESCRIPTION:
     1252    This configuration parameter defines the minimum stack size in bytes for
     1253    every POSIX thread in the system.
     1254
    12301255POSIX Initialization Threads Table Configuration
    12311256================================================
     
    16071632
    16081633DEFAULT VALUE:
    1609     This is not defined by default, which sets the executive to the recommended
    1610     minimum stack size for this processor.
    1611 
    1612 DESCRIPTION:
    1613     The configuration parameter is set to the number of bytes the application
    1614     wants the minimum stack size to be for every task or thread in the system.
    1615 
    1616     Adjusting this parameter should be done with caution. Examining the actual
    1617     usage using the Stack Checker Usage Reporting facility is recommended.
    1618 
    1619 NOTES:
     1634    The default value is architecture-specific.
     1635
     1636DESCRIPTION:
     1637    This configuration parameter defines the minimum stack size in bytes for
     1638    every user task or thread in the system.
     1639
     1640NOTES:
     1641    Adjusting this parameter should be done with caution.  Examining the actual
     1642    stack usage using the stack checker usage reporting facility is recommended
     1643    (see also :ref:`CONFIGURE_STACK_CHECKER_ENABLED <CONFIGURE_STACK_CHECKER_ENABLED>`).
     1644
    16201645    This parameter can be used to lower the minimum from that recommended. This
    16211646    can be used in low memory systems to reduce memory consumption for
     
    16261651    recommended. This can be used in higher memory systems to reduce the risk
    16271652    of stack overflow without performing analysis on actual consumption.
     1653
     1654    By default, this configuration parameter defines also the minimum stack
     1655    size of POSIX threads.  This can be changed with the
     1656    :ref:`CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE <CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE>`
     1657    configuration option.
    16281658
    16291659.. index:: CONFIGURE_INTERRUPT_STACK_SIZE
Note: See TracChangeset for help on using the changeset viewer.