Changeset 40a1e80 in rtems-docs


Ignore:
Timestamp:
Jan 31, 2017, 9:10:13 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
e6cb6b7
Parents:
e07e376
Message:

c-user: Task names

Update #2858.

Location:
c-user
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c-user/configuring_a_system.rst

    re07e376 r40a1e80  
    17741774.. COMMENT: === CONFIGURE_MAXIMUM_THREAD_NAME_SIZE ===
    17751775
    1776 .. _Specifying the Maximum Thread Name Size
     1776.. _CONFIGURE_MAXIMUM_THREAD_NAME_SIZE:
    17771777
    17781778Specifying the Maximum Thread Name Size
  • c-user/task_manager.rst

    re07e376 r40a1e80  
    9494task is restarted, the initial state of the task is restored from the starting
    9595context area in the task's TCB.
     96
     97Task Name
     98---------
     99.. index:: task name
     100
     101By default, the task name is defined by the task object name given to
     102:ref:`rtems_task_create() <rtems_task_create>`.  The task name can be obtained
     103with the `pthread_getname_np()
     104<http://man7.org/linux/man-pages/man3/pthread_setname_np.3.html>`_ function.
     105Optionally, a new task name may be set with the `pthread_setname_np()
     106<http://man7.org/linux/man-pages/man3/pthread_setname_np.3.html>`_ function.
     107The maximum size of a task name is defined by the application configuration
     108option :ref:`CONFIGURE_MAXIMUM_THREAD_NAME_SIZE
     109<CONFIGURE_MAXIMUM_THREAD_NAME_SIZE>`.
    96110
    97111Task States
Note: See TracChangeset for help on using the changeset viewer.