summaryrefslogtreecommitdiff
path: root/common_modules/module_lib/src/txm_thread_sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'common_modules/module_lib/src/txm_thread_sleep.c')
-rw-r--r--common_modules/module_lib/src/txm_thread_sleep.c64
1 files changed, 34 insertions, 30 deletions
diff --git a/common_modules/module_lib/src/txm_thread_sleep.c b/common_modules/module_lib/src/txm_thread_sleep.c
index 2da82b7d..0e33cd43 100644
--- a/common_modules/module_lib/src/txm_thread_sleep.c
+++ b/common_modules/module_lib/src/txm_thread_sleep.c
@@ -22,43 +22,46 @@
#define TXM_MODULE
#include "txm_module.h"
-
-/**************************************************************************/
-/* */
-/* FUNCTION RELEASE */
-/* */
-/* _tx_thread_sleep PORTABLE C */
-/* 6.1 */
+#ifndef TXM_THREAD_SLEEP_CALL_NOT_USED
+/**************************************************************************/
+/* */
+/* FUNCTION RELEASE */
+/* */
+/* _tx_thread_sleep PORTABLE C */
+/* 6.1.10 */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
/* */
-/* DESCRIPTION */
-/* */
-/* This function handles application thread sleep requests. If the */
-/* sleep request was called from a non-thread, an error is returned. */
-/* */
-/* INPUT */
-/* */
-/* timer_ticks Number of timer ticks to sleep*/
-/* */
-/* OUTPUT */
-/* */
-/* status Return completion status */
-/* */
-/* CALLS */
-/* */
+/* DESCRIPTION */
+/* */
+/* This function handles application thread sleep requests. If the */
+/* sleep request was called from a non-thread, an error is returned. */
+/* */
+/* INPUT */
+/* */
+/* timer_ticks Number of timer ticks to sleep*/
+/* */
+/* OUTPUT */
+/* */
+/* status Return 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 _tx_thread_sleep(ULONG timer_ticks)
@@ -72,3 +75,4 @@ UINT return_value;
/* Return value to the caller. */
return(return_value);
}
+#endif