/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:26:55 by OpenVMS SDL EV3-3 */ /* Source: 17-FEB-2000 16:35:45 $1$DGA7274:[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 */