threadx
TX_THREAD_TERMINATED_EXTENSION
is only used within threadx.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
threadx
TX_THREAD_TERMINATED_EXTENSION
TX_THREAD_TERMINATED_EXTENSION macro
Syntax
Show:
Summary
Declaration
from
tx_port.h:368
#define
TX_THREAD_TERMINATED_EXTENSION
(
thread_ptr
)
{
\
ULONG
_tx_system_state
;
\
_tx_system_state
=
TX_THREAD_GET_SYSTEM_STATE
(
)
;
\
if
(
(
_tx_system_state
==
(
(
ULONG
)
0
)
)
&&
(
(
thread_ptr
)
==
_tx_thread_current_ptr
)
)
\
{
\
ULONG
_tx_vfp_state
;
\
_tx_vfp_state
=
__get_control_value
(
)
;
\
_tx_vfp_state
=
_tx_vfp_state
&
~
(
(
ULONG
)
0x4
)
;
\
__set_control_value
(
_tx_vfp_state
)
;
\
}
\
else
\
{
\
ULONG
_tx_fpccr
;
\
_tx_fpccr
=
*
(
(
ULONG
*
)
0xE000EF34
)
;
\
_tx_fpccr
=
_tx_fpccr
&
(
(
ULONG
)
0x01
)
;
\
if
(
_tx_fpccr
==
(
(
ULONG
)
0x01
)
)
\
{
\
ULONG
_tx_vfp_state
;
\
_tx_vfp_state
=
__get_control_value
(
)
;
\
_tx_vfp_state
=
_tx_vfp_state
&
(
(
ULONG
)
0x4
)
;
\
TX_VFP_TOUCH
(
)
;
\
if
(
_tx_vfp_state
==
(
(
ULONG
)
0
)
)
\
{
\
_tx_vfp_state
=
__get_control_value
(
)
;
\
_tx_vfp_state
=
_tx_vfp_state
&
~
(
(
ULONG
)
0x4
)
;
\
__set_control_value
(
_tx_vfp_state
)
;
\
}
\
}
\
}
\
}
Arguments
Argument
thread_ptr
Examples
References
from
examples
Code
Location
#define
TX_THREAD_TERMINATED_EXTENSION
(
thread_ptr
)
{
\
tx_port.h:368
#define
TX_THREAD_TERMINATED_EXTENSION
(
thread_ptr
)
tx_port.h:348
TX_THREAD_TERMINATED_EXTENSION
(
thread_ptr
)
tx_thread_terminate.c:175
TX_THREAD_TERMINATED_EXTENSION
(
thread_ptr
)
tx_thread_terminate.c:252
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out