Jump to content

TIB2: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== TIB2 ==
System-specific Thread Information Block.  
System-specific Thread Information Block.  


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


==== C Declaration Method ====
==== C Declaration Method ====
Line 13: Line 12:


=== 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 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:
                    The low byte of the low word is a hexadecimal value
::0x01  Idle.
                    representing a rank (value 0 to 31) within a priority class.
::0x02  Regular.
                    Class values, found in the high byte of the low word, are as
::0x03  Time critical.
                    follows:
::0x04  Server.
                    0x01  Idle.  
;tib2_version:Version number for this system-specific Thread Information Block.
                    0x02  Regular.  
;tib2_usMCCount:Must-complete count.
                    0x03  Time critical.  
;tib2_fMCForceFlag:Must-complete force flag.
                    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:The OS/2 API Project]]
==PTIB2==
Pointer to TIB2
 
[[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