/***************************************************************************/ /** **/ /** 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:06:53 by OpenVMS SDL V3.7 */ /* Source: 17-FEB-2000 16:35:45 $1$DGA8345:[LIB_H.SRC]TMCDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $TMCDEF ***/ #ifndef __TMCDEF_LOADED #define __TMCDEF_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 #define TMC$K_SYNCH 0 /* $SYNCH honor TM_ACTIVE */ #define TMC$K_SETEF 1 /* Set event flag ignore TM_ACTIVE */ #define TMC$K_WFL 2 /* $WFLAND and $WFLOR honor TM_ACTIVE */ #define TMC$K_SET_CTX 3 /* Set synch context ignore TM_ACTIVE */ #define TMC$K_HIBER 4 /* $HIBER honor TM_ACTIVE */ #define TMC$K_WAKE 5 /* $WAKE ignore TM_ACTIVE */ #define TMC$K_PFW 6 /* Pagefault wait honor TM_ACTIVE */ #define TMC$K_PFC 7 /* Pagefault complete ignore TM_ACTIVE */ #define TMC$K_IMW 8 /* Inner mode Semaphore wait honor TM_ACTIVE */ #define TMC$K_IMF 9 /* Inner mode Semaphore free ignore TM_ACTIVE */ #define TMC$K_EXIT 10 /* $EXIT honor TM_ACTIVE */ #define TMC$K_FORCEX 11 /* $FORCEX ignore TM_ACTIVE */ #define TMC$K_SETAST 12 /* $SETAST honor TM_ACTIVE */ #define TMC$K_UAST 13 /* User mode AST ignore TM_ACTIVE */ #define TMC$K_SYNCH_CTX 14 /* Synch with context honor TM_ACTIVE */ #define TMC$K_QUANTUM 15 /* Thread quantum ignore TM_ACTIVE */ #define TMC$K_NUM_TYPES 16 /* Number of callback types */ #define TMC$K_HIGHEST_TYPE 15 #define TMC$K_WFLOR 0 /* $WFLOR callback */ #define TMC$K_WFLAND 1 /* $WFLAND callback */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif typedef struct _tmc { #pragma __nomember_alignment __int64 tmc$q_synch; /* $SYNCH */ __int64 tmc$q_setef; /* Set event flag */ __int64 tmc$q_wfl; /* $WFLAND and $WFLOR */ __int64 tmc$q_set_ctx; /* Set synch context */ __int64 tmc$q_hiber; /* $HIBER */ __int64 tmc$q_wake; /* $WAKE */ __int64 tmc$q_pfw; /* Pagefault wait */ __int64 tmc$q_pfc; /* Pagefault complete */ __int64 tmc$q_imw; /* Inner mode Semaphore wait */ __int64 tmc$q_imf; /* Inner mode Semaphore free */ __int64 tmc$q_exit; /* $EXIT */ __int64 tmc$q_forcex; /* $FORCEX */ __int64 tmc$q_setast; /* $SETAST */ __int64 tmc$q_uast; /* User mode AST */ __int64 tmc$q_synch_ctx; /* $SYNCH with context */ __int64 tmc$q_quantum; /* Thread quantum */ } TMC; #define TMC$C_LENGTH 128 /* Length of TMC */ #define TMC$K_LENGTH 128 /* Length of TMC */ #define TMC$S_TMCDEF 128 /* Old size name - synonym */ #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 /* __TMCDEF_LOADED */