summaryrefslogtreecommitdiff
path: root/test/smp/regression/threadx_thread_sleep_terminate_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/smp/regression/threadx_thread_sleep_terminate_test.c')
-rw-r--r--test/smp/regression/threadx_thread_sleep_terminate_test.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/smp/regression/threadx_thread_sleep_terminate_test.c b/test/smp/regression/threadx_thread_sleep_terminate_test.c
index 871fc6e2..98862051 100644
--- a/test/smp/regression/threadx_thread_sleep_terminate_test.c
+++ b/test/smp/regression/threadx_thread_sleep_terminate_test.c
@@ -30,7 +30,7 @@ static void entry_exit_notify(TX_THREAD *thread_ptr, UINT type)
/* Check for the appropriate thread. */
if (thread_ptr != &thread_1)
return;
-
+
/* Check for type. */
if (type == TX_THREAD_ENTRY)
thread_1_enter++;
@@ -58,8 +58,8 @@ CHAR *pointer;
/* Put system definition stuff in here, e.g. thread creates and other assorted
create information. */
- status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1,
- pointer, TEST_STACK_SIZE_PRINTF,
+ status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1,
+ pointer, TEST_STACK_SIZE_PRINTF,
17, 17, 100, TX_AUTO_START);
pointer = pointer + TEST_STACK_SIZE_PRINTF;
@@ -71,8 +71,8 @@ CHAR *pointer;
test_control_return(1);
}
- status = tx_thread_create(&thread_1, "thread 1", thread_1_entry, 1,
- pointer, TEST_STACK_SIZE_PRINTF,
+ status = tx_thread_create(&thread_1, "thread 1", thread_1_entry, 1,
+ pointer, TEST_STACK_SIZE_PRINTF,
18, 18, 100, TX_AUTO_START);
pointer = pointer + TEST_STACK_SIZE_PRINTF;
@@ -144,7 +144,7 @@ UINT status;
/* Now try to suspend a terminated thread. */
status = tx_thread_suspend(&thread_1);
-
+
/* Check status. */
if (status != TX_SUSPEND_ERROR)
{
@@ -153,7 +153,7 @@ UINT status;
printf("ERROR #6\n");
test_control_return(1);
}
-
+
/* Successful test. */
printf("SUCCESS!\n");
test_control_return(0);
@@ -178,7 +178,7 @@ UINT status;
/* Check status. */
if (status != TX_SUCCESS)
{
- thread_1_counter = 0; /* Make an error! */
+ thread_1_counter = 0; /* Make an error! */
return;
}
}