diff options
Diffstat (limited to 'common_modules/module_lib/src/txm_thread_info_get.c')
| -rw-r--r-- | common_modules/module_lib/src/txm_thread_info_get.c | 88 |
1 files changed, 46 insertions, 42 deletions
diff --git a/common_modules/module_lib/src/txm_thread_info_get.c b/common_modules/module_lib/src/txm_thread_info_get.c index ca9f4684..4513dca3 100644 --- a/common_modules/module_lib/src/txm_thread_info_get.c +++ b/common_modules/module_lib/src/txm_thread_info_get.c @@ -22,55 +22,58 @@ #define TXM_MODULE #include "txm_module.h" - -/**************************************************************************/ -/* */ -/* FUNCTION RELEASE */ -/* */ -/* _txe_thread_info_get PORTABLE C */ -/* 6.1 */ +#ifndef TXM_THREAD_INFO_GET_CALL_NOT_USED +/**************************************************************************/ +/* */ +/* FUNCTION RELEASE */ +/* */ +/* _txe_thread_info_get PORTABLE C */ +/* 6.1.10 */ /* AUTHOR */ /* */ /* Scott Larson, Microsoft Corporation */ /* */ -/* DESCRIPTION */ -/* */ -/* This function checks for errors in the thread information get */ -/* service. */ -/* */ -/* INPUT */ -/* */ -/* thread_ptr Pointer to thread control block */ -/* name Destination for the thread name */ -/* state Destination for thread state */ -/* run_count Destination for thread run count */ -/* priority Destination for thread priority */ -/* preemption_threshold Destination for thread preemption-*/ -/* threshold */ -/* time_slice Destination for thread time-slice */ -/* next_thread Destination for next created */ -/* thread */ -/* next_suspended_thread Destination for next suspended */ -/* thread */ -/* */ -/* OUTPUT */ -/* */ -/* TX_THREAD_ERROR Invalid thread pointer */ -/* status Completion status */ -/* */ -/* CALLS */ -/* */ +/* DESCRIPTION */ +/* */ +/* This function checks for errors in the thread information get */ +/* service. */ +/* */ +/* INPUT */ +/* */ +/* thread_ptr Pointer to thread control block */ +/* name Destination for the thread name */ +/* state Destination for thread state */ +/* run_count Destination for thread run count */ +/* priority Destination for thread priority */ +/* preemption_threshold Destination for thread preemption-*/ +/* threshold */ +/* time_slice Destination for thread time-slice */ +/* next_thread Destination for next created */ +/* thread */ +/* next_suspended_thread Destination for next suspended */ +/* thread */ +/* */ +/* OUTPUT */ +/* */ +/* TX_THREAD_ERROR Invalid thread pointer */ +/* status Completion status */ +/* */ +/* CALLS */ +/* */ /* _txm_module_kernel_call_dispatcher */ -/* */ -/* CALLED BY */ -/* */ -/* Module application code */ -/* */ -/* RELEASE HISTORY */ -/* */ +/* */ +/* CALLED BY */ +/* */ +/* Module application code */ +/* */ +/* 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 _txe_thread_info_get(TX_THREAD *thread_ptr, CHAR **name, UINT *state, ULONG *run_count, UINT *priority, UINT *preemption_threshold, ULONG *time_slice, TX_THREAD **next_thread, TX_THREAD **next_suspended_thread) @@ -93,3 +96,4 @@ ALIGN_TYPE extra_parameters[7]; /* Return value to the caller. */ return(return_value); } +#endif |
