Jump to content

TIB2: Difference between revisions

From EDM2
Anakor (talk | contribs)
New
 
Ak120 (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== TIB2 ==
System-specific Thread Information Block.  
System-specific Thread Information Block.  


=== Type ===  
=== Type ===  
 
  [[ULONG]]  tib2_ultid
  [[OS2 API:DataType:ULONG|ULONG]]  tib2_ultid
  ULONG  tib2_ulpri
  [[OS2 API:DataType:ULONG|ULONG]]   tib2_ulpri
  ULONG  tib2_version
  [[OS2 API:DataType:ULONG|ULONG]]   tib2_version
  [[USHORT]]  tib2_usMCCount
  [[OS2 API:DataType:USHORT|USHORT]]  tib2_usMCCount
  USHORT  tib2_fMCForceFlag
  [[OS2 API:DataType:USHORT|USHORT]] tib2_fMCForceFlag


==== C Declaration Method ====
==== C Declaration Method ====
typedef struct
typedef struct


=== Fields ===
=== 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.


tib2_ultid        Current thread identifier.
==PTIB2==
 
Pointer to TIB2
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.
[[Category:Data type]]

Latest revision as of 19:02, 7 November 2017

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.

PTIB2

Pointer to TIB2