kernel: fixed description of THREAD_CUSTOM_DATA
Change-Id: I63ebfc6b7cf869d7a00ccbe4f20eca8060edaf43 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
aa2154772a
commit
40b7183326
2 changed files with 7 additions and 7 deletions
|
@ -3,8 +3,8 @@
|
|||
Custom Data
|
||||
###########
|
||||
|
||||
A thread's :dfn:`custom data` is a 32-bit, thread-specific value
|
||||
that may be used by an application for any purpose.
|
||||
A thread's :dfn:`custom data` is a 32-bit, thread-specific value that may be
|
||||
used by an application for any purpose.
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
|
@ -14,8 +14,8 @@ Concepts
|
|||
********
|
||||
|
||||
Every thread has a 32-bit custom data area.
|
||||
The custom data is accessible only by the thread itself,
|
||||
and may be used by the application for any purpose it chooses.
|
||||
The custom data is accessible only by the thread itself, and may be used by the
|
||||
application for any purpose it chooses.
|
||||
The default custom data for a thread is zero.
|
||||
|
||||
.. note::
|
||||
|
|
|
@ -177,11 +177,11 @@ config ISR_STACK_SIZE
|
|||
|
||||
config THREAD_CUSTOM_DATA
|
||||
bool
|
||||
prompt "Task and fiber custom data"
|
||||
prompt "Thread custom data"
|
||||
default n
|
||||
help
|
||||
This option allows each task and fiber to store 32 bits of custom data,
|
||||
which can be accessed using the sys_thread_custom_data_xxx() APIs.
|
||||
This option allows each thread to store 32 bits of custom data,
|
||||
which can be accessed using the k_thread_custom_data_xxx() APIs.
|
||||
|
||||
config NANO_TIMEOUTS
|
||||
bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue