summaryrefslogtreecommitdiff
path: root/common/src/tx_semaphore_cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/tx_semaphore_cleanup.c')
-rw-r--r--common/src/tx_semaphore_cleanup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/src/tx_semaphore_cleanup.c b/common/src/tx_semaphore_cleanup.c
index abe23046..bb0f98f5 100644
--- a/common/src/tx_semaphore_cleanup.c
+++ b/common/src/tx_semaphore_cleanup.c
@@ -87,7 +87,7 @@ UINT suspended_count;
TX_THREAD *next_thread;
TX_THREAD *previous_thread;
-
+
#ifndef TX_NOT_INTERRUPTABLE
@@ -97,7 +97,7 @@ TX_THREAD *previous_thread;
/* Determine if the cleanup is still required. */
if (thread_ptr -> tx_thread_suspend_cleanup == &(_tx_semaphore_cleanup))
{
-
+
/* Check for valid suspension sequence. */
if (suspension_sequence == thread_ptr -> tx_thread_suspension_sequence)
{
@@ -121,7 +121,7 @@ TX_THREAD *previous_thread;
/* Setup pointer to semaphore control block. */
semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block);
#endif
-
+
/* Yes, we still have thread suspension! */
/* Clear the suspension cleanup flag. */
@@ -140,7 +140,7 @@ TX_THREAD *previous_thread;
{
/* Yes, the only suspended thread. */
-
+
/* Update the head pointer. */
semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL;
}
@@ -154,7 +154,7 @@ TX_THREAD *previous_thread;
previous_thread = thread_ptr -> tx_thread_suspended_previous;
next_thread -> tx_thread_suspended_previous = previous_thread;
previous_thread -> tx_thread_suspended_next = next_thread;
-
+
/* Determine if we need to update the head pointer. */
if (semaphore_ptr -> tx_semaphore_suspension_list == thread_ptr)
{