Merge pull request #464 from gzzi/avoid-hang-check-stack

Do not analyze when stack overflow has occured.
This commit is contained in:
Frédéric Desbiens
2025-09-16 11:32:21 -04:00
committed by GitHub

View File

@@ -239,7 +239,7 @@
_tx_thread_stack_error_handler((thread_ptr)); \ _tx_thread_stack_error_handler((thread_ptr)); \
TX_DISABLE \ TX_DISABLE \
} \ } \
if (*(((ULONG *) (thread_ptr) -> tx_thread_stack_highest_ptr) - 1) != TX_STACK_FILL) \ else if (*(((ULONG *) (thread_ptr) -> tx_thread_stack_highest_ptr) - 1) != TX_STACK_FILL) \
{ \ { \
TX_RESTORE \ TX_RESTORE \
_tx_thread_stack_analyze((thread_ptr)); \ _tx_thread_stack_analyze((thread_ptr)); \