summaryrefslogtreecommitdiff
path: root/common_smp/src/tx_thread_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'common_smp/src/tx_thread_create.c')
-rw-r--r--common_smp/src/tx_thread_create.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/common_smp/src/tx_thread_create.c b/common_smp/src/tx_thread_create.c
index a99af7e6..2c799a9b 100644
--- a/common_smp/src/tx_thread_create.c
+++ b/common_smp/src/tx_thread_create.c
@@ -37,7 +37,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_create PORTABLE SMP */
-/* 6.1.8 */
+/* 6.2.0 */
/* AUTHOR */
/* */
/* William E. Lamie, Microsoft Corporation */
@@ -85,6 +85,10 @@
/* resulting in version 6.1.3 */
/* 08-02-2021 Scott Larson Removed unneeded cast, */
/* resulting in version 6.1.8 */
+/* 10-31-2022 Scott Larson Removed ifdef block to always */
+/* restore interrupts at end */
+/* of if block, */
+/* resulting in version 6.2.0 */
/* */
/**************************************************************************/
UINT _tx_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr,
@@ -344,11 +348,8 @@ ALIGN_TYPE updated_stack_start;
#endif
}
-#ifndef TX_NOT_INTERRUPTABLE
-
/* Restore interrupts. */
TX_RESTORE
-#endif
}
else
{