summaryrefslogtreecommitdiff
path: root/common_smp/src/tx_thread_create.c
diff options
context:
space:
mode:
authorTiejun Zhou <[email protected]>2022-10-26 23:41:13 +0000
committerTiejun Zhou <[email protected]>2022-10-26 23:41:13 +0000
commit3e8e85cdc1e51f9de577457377a4f9a4f6b9b82f (patch)
tree861c0ab74e5dc5de7509b4b85f5e75dd74457117 /common_smp/src/tx_thread_create.c
parentb871c33620f9b58a83e92a33f4ca00025e850c7f (diff)
Release 6.2.0v6.2.0_rel
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
{