Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the typos #361

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/smp/cmake/regression/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ set(regression_test_cases
${SOURCE_DIR}/threadx_smp_random_resume_suspend_test.c
${SOURCE_DIR}/threadx_smp_rebalance_exclusion_test.c
${SOURCE_DIR}/threadx_smp_relinquish_test.c
${SOURCE_DIR}/threadx_smp_resume_suspend_accending_order_test.c
${SOURCE_DIR}/threadx_smp_resume_suspend_decending_order_test.c
${SOURCE_DIR}/threadx_smp_resume_suspend_ascending_order_test.c
${SOURCE_DIR}/threadx_smp_resume_suspend_descending_order_test.c
${SOURCE_DIR}/threadx_smp_time_slice_test.c
${SOURCE_DIR}/threadx_smp_two_threads_one_core_test.c
${SOURCE_DIR}/threadx_thread_basic_execution_test.c
Expand Down
14 changes: 7 additions & 7 deletions test/smp/regression/testcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ void threadx_semaphore_information_application_define(void *);
void threadx_thread_basic_execution_application_define(void *);
void threadx_thread_completed_application_define(void *);
void threadx_thread_relinquish_application_define(void *);
void threadx_thread_simple_supsend_application_define(void *);
void threadx_thread_simple_suspend_application_define(void *);
void threadx_thread_multiple_suspension_application_define(void *);
void threadx_thread_multiple_non_current_suspension_application_define(void *);
void threadx_thread_multi_level_preemption_threshold_application_define(void *);
Expand Down Expand Up @@ -249,8 +249,8 @@ void threadx_smp_two_threads_one_core_test(void *first_unused_memory);
void threadx_smp_multiple_threads_one_core_test(void *first_unused_memory);
void threadx_smp_one_thread_dynamic_exclusion_test(void *first_unused_memory);
void threadx_smp_non_trivial_scheduling_test(void *first_unused_memory);
void threadx_smp_resume_suspend_accending_order_test(void *first_unused_memory);
void threadx_smp_resume_suspend_decending_order_test(void *first_unused_memory);
void threadx_smp_resume_suspend_ascending_order_test(void *first_unused_memory);
void threadx_smp_resume_suspend_descending_order_test(void *first_unused_memory);
void threadx_smp_preemption_threshold_test(void *first_unused_memory);
void threadx_smp_relinquish_test(void *first_unused_memory);
void threadx_smp_time_slice_test(void *first_unused_memory);
Expand All @@ -273,8 +273,8 @@ TEST_ENTRY test_control_tests[] =
threadx_smp_multiple_threads_one_core_test,
threadx_smp_one_thread_dynamic_exclusion_test,
threadx_smp_non_trivial_scheduling_test,
threadx_smp_resume_suspend_accending_order_test,
threadx_smp_resume_suspend_decending_order_test,
threadx_smp_resume_suspend_ascending_order_test,
threadx_smp_resume_suspend_descending_order_test,
threadx_smp_preemption_threshold_test,
threadx_smp_relinquish_test,
threadx_smp_time_slice_test,
Expand Down Expand Up @@ -351,7 +351,7 @@ TEST_ENTRY test_control_tests[] =
threadx_thread_basic_execution_application_define,
threadx_thread_completed_application_define,
threadx_thread_relinquish_application_define,
threadx_thread_simple_supsend_application_define,
threadx_thread_simple_suspend_application_define,
threadx_thread_multiple_suspension_application_define,
threadx_thread_multiple_non_current_suspension_application_define,
threadx_thread_multi_level_preemption_threshold_application_define,
Expand Down Expand Up @@ -1428,7 +1428,7 @@ UINT old_posture = TX_INT_ENABLE;
if (old_posture == TX_INT_DISABLE)
{

/* System error - interrupts should alwasy be enabled in our test threads! */
/* System error - interrupts should always be enabled in our test threads! */
printf(" ***** SYSTEM ERROR ***** test returned with interrupts disabled!\n");
test_control_system_errors++;
}
Expand Down
34 changes: 17 additions & 17 deletions test/smp/regression/threadx_mutex_information_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the performance inforamtion. */
/* Now get the performance information. */
status = tx_mutex_performance_info_get(&mutex_2, &puts, &gets, &suspensions, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -326,7 +326,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the system performance inforamtion. */
/* Now get the system performance information. */
status = tx_mutex_performance_system_info_get(&puts, &gets, &suspensions, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -342,7 +342,7 @@ ULONG inheritances;

#else

/* Now get the performance inforamtion. */
/* Now get the performance information. */
status = tx_mutex_performance_info_get(&mutex_2, &puts, &gets, &suspensions, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -354,7 +354,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the performance inforamtion. */
/* Now get the performance information. */
status = tx_mutex_performance_info_get(TX_NULL, &puts, &gets, &suspensions, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -366,7 +366,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the performance inforamtion. */
/* Now get the performance information. */
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, &gets, &suspensions, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -378,7 +378,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the performance inforamtion. */
/* Now get the performance information. */
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, TX_NULL, &suspensions, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -390,7 +390,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the performance inforamtion. */
/* Now get the performance information. */
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -402,7 +402,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the performance inforamtion. */
/* Now get the performance information. */
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, &inversions, &inheritances);

/* Check status. */
Expand All @@ -414,7 +414,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the performance inforamtion. */
/* Now get the performance information. */
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, &inheritances);

/* Check status. */
Expand All @@ -426,7 +426,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the performance inforamtion. */
/* Now get the performance information. */
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL);

/* Check status. */
Expand All @@ -438,7 +438,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the system performance inforamtion. */
/* Now get the system performance information. */
status = tx_mutex_performance_system_info_get(&puts, &gets, &suspensions, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -450,7 +450,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the system performance inforamtion. */
/* Now get the system performance information. */
status = tx_mutex_performance_system_info_get(TX_NULL, &gets, &suspensions, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -462,7 +462,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the system performance inforamtion. */
/* Now get the system performance information. */
status = tx_mutex_performance_system_info_get(TX_NULL, TX_NULL, &suspensions, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -474,7 +474,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the system performance inforamtion. */
/* Now get the system performance information. */
status = tx_mutex_performance_system_info_get(TX_NULL, TX_NULL, TX_NULL, &timeouts, &inversions, &inheritances);

/* Check status. */
Expand All @@ -486,7 +486,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the system performance inforamtion. */
/* Now get the system performance information. */
status = tx_mutex_performance_system_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, &inversions, &inheritances);

/* Check status. */
Expand All @@ -498,7 +498,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the system performance inforamtion. */
/* Now get the system performance information. */
status = tx_mutex_performance_system_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, &inheritances);

/* Check status. */
Expand All @@ -510,7 +510,7 @@ ULONG inheritances;
test_control_return(1);
}

/* Now get the system performance inforamtion. */
/* Now get the system performance information. */
status = tx_mutex_performance_system_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL);

/* Check status. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ UINT status;

tx_mutex_put(&mutex_2);

/* Should reurn us back to priority 15. */
/* Should return us back to priority 15. */
if (thread_0.tx_thread_priority != 15)
{

Expand Down Expand Up @@ -441,7 +441,7 @@ UINT status;

tx_mutex_put(&mutex_2);

/* Should reurn us back to priority 8. */
/* Should return us back to priority 8. */
if (thread_0.tx_thread_priority != 8)
{

Expand Down
Loading