TIB2: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== TIB2 == | == TIB2 == | ||
System-specific Thread Information Block. | System-specific Thread Information Block. | ||
=== Type === | === Type === | ||
[[OS2 API:DataType:ULONG|ULONG]] tib2_ultid | [[OS2 API:DataType:ULONG|ULONG]] tib2_ultid | ||
[[OS2 API:DataType:ULONG|ULONG]] tib2_ulpri | [[OS2 API:DataType:ULONG|ULONG]] tib2_ulpri | ||
Line 12: | Line 10: | ||
==== C Declaration Method ==== | ==== C Declaration Method ==== | ||
typedef struct | typedef struct | ||
=== Fields === | === Fields === | ||
tib2_ultid Current thread identifier. | tib2_ultid Current thread identifier. | ||
tib2_ulpri Current thread priority. | tib2_ulpri Current thread priority. | ||
The low byte of the low word is a hexadecimal value | The low byte of the low word is a hexadecimal value | ||
Line 28: | Line 24: | ||
0x03 Time critical. | 0x03 Time critical. | ||
0x04 Server. | 0x04 Server. | ||
tib2_version Version number for this system-specific Thread Information | tib2_version Version number for this system-specific Thread Information | ||
Block. | Block. | ||
tib2_usMCCount Must-complete count. | tib2_usMCCount Must-complete count. | ||
tib2_fMCForceFlag Must-complete force flag. | tib2_fMCForceFlag Must-complete force flag. | ||
[[Category:The OS/2 API Project]] | [[Category:The OS/2 API Project]] |
Revision as of 22:17, 16 April 2016
TIB2
System-specific Thread Information Block.
Type
ULONG tib2_ultid ULONG tib2_ulpri ULONG tib2_version USHORT tib2_usMCCount USHORT tib2_fMCForceFlag
C Declaration Method
typedef struct
Fields
tib2_ultid Current thread identifier. tib2_ulpri Current thread priority. The low byte of the low word is a hexadecimal value representing a rank (value 0 to 31) within a priority class. Class values, found in the high byte of the low word, are as follows: 0x01 Idle. 0x02 Regular. 0x03 Time critical. 0x04 Server. tib2_version Version number for this system-specific Thread Information Block. tib2_usMCCount Must-complete count. tib2_fMCForceFlag Must-complete force flag.