summaryrefslogtreecommitdiff
path: root/common_modules/module_lib/src/txm_semaphore_info_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'common_modules/module_lib/src/txm_semaphore_info_get.c')
-rw-r--r--common_modules/module_lib/src/txm_semaphore_info_get.c82
1 files changed, 43 insertions, 39 deletions
diff --git a/common_modules/module_lib/src/txm_semaphore_info_get.c b/common_modules/module_lib/src/txm_semaphore_info_get.c
index cd2cac80..5a91bb7f 100644
--- a/common_modules/module_lib/src/txm_semaphore_info_get.c
+++ b/common_modules/module_lib/src/txm_semaphore_info_get.c
@@ -22,52 +22,55 @@
#define TXM_MODULE
#include "txm_module.h"
-
-/**************************************************************************/
-/* */
-/* FUNCTION RELEASE */
-/* */
-/* _txe_semaphore_info_get PORTABLE C */
-/* 6.1 */
+#ifndef TXM_SEMAPHORE_INFO_GET_CALL_NOT_USED
+/**************************************************************************/
+/* */
+/* FUNCTION RELEASE */
+/* */
+/* _txe_semaphore_info_get PORTABLE C */
+/* 6.1.10 */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
/* */
-/* DESCRIPTION */
-/* */
-/* This function checks for errors in the semaphore information get */
-/* service. */
-/* */
-/* INPUT */
-/* */
-/* semaphore_ptr Pointer to semaphore control block*/
-/* name Destination for the semaphore name*/
-/* current_value Destination for current value of */
-/* the semaphore */
-/* first_suspended Destination for pointer of first */
-/* thread suspended on semaphore */
-/* suspended_count Destination for suspended count */
-/* next_semaphore Destination for pointer to next */
-/* semaphore on the created list */
-/* */
-/* OUTPUT */
-/* */
-/* TX_SEMAPHORE_ERROR Invalid semaphore pointer */
-/* status Completion status */
-/* */
-/* CALLS */
-/* */
+/* DESCRIPTION */
+/* */
+/* This function checks for errors in the semaphore information get */
+/* service. */
+/* */
+/* INPUT */
+/* */
+/* semaphore_ptr Pointer to semaphore control block*/
+/* name Destination for the semaphore name*/
+/* current_value Destination for current value of */
+/* the semaphore */
+/* first_suspended Destination for pointer of first */
+/* thread suspended on semaphore */
+/* suspended_count Destination for suspended count */
+/* next_semaphore Destination for pointer to next */
+/* semaphore on the created list */
+/* */
+/* OUTPUT */
+/* */
+/* TX_SEMAPHORE_ERROR Invalid semaphore 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_semaphore_info_get(TX_SEMAPHORE *semaphore_ptr, CHAR **name, ULONG *current_value, TX_THREAD **first_suspended, ULONG *suspended_count, TX_SEMAPHORE **next_semaphore)
@@ -87,3 +90,4 @@ ALIGN_TYPE extra_parameters[4];
/* Return value to the caller. */
return(return_value);
}
+#endif