/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:07:57 by OpenVMS SDL V3.7 */ /* Source: 29-JUL-2005 13:32:25 $1$DGA8345:[LIB_H.SRC]MTXDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $MTXDEF ***/ #ifndef __MTXDEF_LOADED #define __MTXDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /*+ */ /* LONGWORD MUTEX DEFINITIONS (OLD STYLE) */ /*- */ #define MTX$S_MTXDEF 4 /* Old size name, synonym for MTX$S_MTX */ typedef struct _mtx { __union { int mtxdef$$_fill_1; __struct { unsigned mtxdef$$_fill_2 : 16; unsigned mtx$v_wrt : 1; /* WRITE PENDING OR IN PROGRESS */ unsigned mtx$v_interlock : 1; /* INTERLOCK ACCESS TO MUTEX */ unsigned mtx$v_fill_5_ : 6; } mtx$r_fill_1_bits; __struct { unsigned short int mtx$w_owncnt; /*OWNERSHIP COUNT */ unsigned short int mtx$w_sts; /*STATUS BITS */ } mtx$r_fill_1_fields; } mtx$r_mtx_overlay; } MTX; #if !defined(__VAXC) #define mtx$v_wrt mtx$r_mtx_overlay.mtx$r_fill_1_bits.mtx$v_wrt #define mtx$v_interlock mtx$r_mtx_overlay.mtx$r_fill_1_bits.mtx$v_interlock #define mtx$w_owncnt mtx$r_mtx_overlay.mtx$r_fill_1_fields.mtx$w_owncnt #define mtx$w_sts mtx$r_mtx_overlay.mtx$r_fill_1_fields.mtx$w_sts #endif /* #if !defined(__VAXC) */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __MTXDEF_LOADED */