summaryrefslogtreecommitdiff
path: root/common/src/tx_event_flags_delete.c
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
committerYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
commit1af8404c54f9c8d3caa2ac3523c2a5f014aecb1c (patch)
tree93e4f4d64ec8c21c01b77f19b8e7326e85227e3d /common/src/tx_event_flags_delete.c
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'common/src/tx_event_flags_delete.c')
-rw-r--r--common/src/tx_event_flags_delete.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/src/tx_event_flags_delete.c b/common/src/tx_event_flags_delete.c
index b384d4bb..f384f126 100644
--- a/common/src/tx_event_flags_delete.c
+++ b/common/src/tx_event_flags_delete.c
@@ -106,7 +106,7 @@ TX_EVENT_FLAGS_GROUP *previous_group;
/* Decrement the number of created event flag groups. */
_tx_event_flags_created_count--;
-
+
/* See if this group is the only one on the list. */
if (_tx_event_flags_created_count == TX_EMPTY)
{
@@ -126,7 +126,7 @@ TX_EVENT_FLAGS_GROUP *previous_group;
/* See if we have to update the created list head pointer. */
if (_tx_event_flags_created_ptr == group_ptr)
{
-
+
/* Yes, move the head pointer to the next link. */
_tx_event_flags_created_ptr = next_group;
}
@@ -144,18 +144,18 @@ TX_EVENT_FLAGS_GROUP *previous_group;
/* Restore interrupts. */
TX_RESTORE
- /* Walk through the event flag suspension list to resume any and all threads
+ /* Walk through the event flag suspension list to resume any and all threads
suspended on this group. */
while (suspended_count != TX_NO_SUSPENSIONS)
{
-
+
/* Decrement the number of suspended threads. */
suspended_count--;
-
+
/* Lockout interrupts. */
TX_DISABLE
- /* Clear the cleanup pointer, this prevents the timeout from doing
+ /* Clear the cleanup pointer, this prevents the timeout from doing
anything. */
thread_ptr -> tx_thread_suspend_cleanup = TX_NULL;