diff options
Diffstat (limited to 'common_modules/module_lib/src/txm_module_thread_system_suspend.c')
| -rw-r--r-- | common_modules/module_lib/src/txm_module_thread_system_suspend.c | 76 |
1 files changed, 40 insertions, 36 deletions
diff --git a/common_modules/module_lib/src/txm_module_thread_system_suspend.c b/common_modules/module_lib/src/txm_module_thread_system_suspend.c index 8121ca4a..287f4ab9 100644 --- a/common_modules/module_lib/src/txm_module_thread_system_suspend.c +++ b/common_modules/module_lib/src/txm_module_thread_system_suspend.c @@ -22,50 +22,53 @@ #define TXM_MODULE #include "txm_module.h" - -/**************************************************************************/ -/* */ -/* FUNCTION RELEASE */ -/* */ -/* _tx_thread_system_suspend PORTABLE C */ -/* 6.1 */ -/* */ +#ifndef TXM_THREAD_SYSTEM_SUSPEND_CALL_NOT_USED +/**************************************************************************/ +/* */ +/* FUNCTION RELEASE */ +/* */ +/* _tx_thread_system_suspend PORTABLE C */ +/* 6.1.10 */ +/* */ /* AUTHOR */ /* */ /* Scott Larson, Microsoft Corporation */ /* */ -/* DESCRIPTION */ -/* */ -/* This function suspends the specified thread and changes the thread */ -/* state to the value specified. Note: delayed suspension processing */ +/* DESCRIPTION */ +/* */ +/* This function suspends the specified thread and changes the thread */ +/* state to the value specified. Note: delayed suspension processing */ /* is handled outside of this routine. */ -/* */ -/* INPUT */ -/* */ -/* thread_ptr Pointer to thread to suspend */ -/* */ -/* OUTPUT */ -/* */ -/* None */ -/* */ -/* CALLS */ -/* */ +/* */ +/* INPUT */ +/* */ +/* thread_ptr Pointer to thread to suspend */ +/* */ +/* OUTPUT */ +/* */ +/* None */ +/* */ +/* CALLS */ +/* */ /* _txm_module_kernel_call_dispatcher */ -/* */ -/* CALLED BY */ -/* */ -/* _tx_thread_priority_change Thread priority change */ -/* _tx_thread_shell_entry Thread shell function */ -/* _tx_thread_sleep Thread sleep */ -/* _tx_thread_suspend Application thread suspend */ -/* _tx_thread_terminate Thread terminate */ -/* Other ThreadX Components */ -/* */ -/* RELEASE HISTORY */ -/* */ +/* */ +/* CALLED BY */ +/* */ +/* _tx_thread_priority_change Thread priority change */ +/* _tx_thread_shell_entry Thread shell function */ +/* _tx_thread_sleep Thread sleep */ +/* _tx_thread_suspend Application thread suspend */ +/* _tx_thread_terminate Thread terminate */ +/* Other ThreadX Components */ +/* */ +/* RELEASE HISTORY */ +/* */ /* DATE NAME DESCRIPTION */ /* */ -/* 09-30-2020 Scott Larson Initial Version 6.1 */ +/* 09-30-2020 Scott Larson Initial Version 6.1 */ +/* 01-31-2022 Scott Larson Modified comments and added */ +/* CALL_NOT_USED option, */ +/* resulting in version 6.1.10 */ /* */ /**************************************************************************/ UINT _txm_module_thread_system_suspend(TX_THREAD *thread_ptr) @@ -79,3 +82,4 @@ UINT return_value; /* Return value to the caller. */ return(return_value); } +#endif |
