Jump to content

TIB: Difference between revisions

From EDM2
Anakor (talk | contribs)
New
 
Ak120 (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== TIB ==
Thread Information Block


Thread Information Block.
=== Type ===
 
  [[PVOID]]  tib_pexchain
=== Type ===  
  PVOID  tib_pstack
 
  PVOID  tib_pstacklimit
  [[OS2 API:DataType:PVOID|PVOID]]  tib_pexchain
  [[PTIB2]]  tib_ptib2
  [[OS2 API:DataType:PVOID|PVOID]] tib_pstack
  [[ULONG]]  tib_version
  [[OS2 API:DataType:PVOID|PVOID]] tib_pstacklimit
  ULONG  tib_ordinal
  [[OS2 API:DataType:TIB2|PTIB2]]  tib_ptib2
  [[OS2 API:DataType:ULONG|ULONG]]  tib_version
  [[OS2 API:DataType:ULONG|ULONG]] tib_ordinal


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


=== Fields ===
=== Fields ===
;tib_pexchain:Head of exception handler chain.
;tib_pstack:Pointer to the base of the stack.
;tib_pstacklimit:Pointer to the end of the stack.
;tib_ptib2:Pointer to a system-specific thread information block.
;tib_version:Version number for this Thread Information Block.
;tib_ordinal:Thread ordinal number.


tib_pexchain    Head of exception handler chain.
===Comment===
tib_pstack      Pointer to the base of the stack.
The fields of this data structure should not be modified unless you are switching stacks, in which case only the tib_pstack and tib_pstacklimit should changed.
tib_pstacklimit Pointer to the end of the stack.
tib_ptib2        Pointer to a system-specific thread information block.
tib_version      Version number for this Thread Information Block.
tib_ordinal      Thread ordinal number.


=== Comment ===
==PTIB==
Pointer to TIB


The fields of this data structure should not be modified unless you are switching stacks, in which case only the tib_pstack and tib_pstacklimit should changed.
[[Category:Data type]]

Latest revision as of 19:01, 7 November 2017

Thread Information Block

Type

PVOID  tib_pexchain
PVOID  tib_pstack
PVOID  tib_pstacklimit
PTIB2  tib_ptib2
ULONG  tib_version
ULONG  tib_ordinal

C Declaration Method

typedef struct

Fields

tib_pexchain
Head of exception handler chain.
tib_pstack
Pointer to the base of the stack.
tib_pstacklimit
Pointer to the end of the stack.
tib_ptib2
Pointer to a system-specific thread information block.
tib_version
Version number for this Thread Information Block.
tib_ordinal
Thread ordinal number.

Comment

The fields of this data structure should not be modified unless you are switching stacks, in which case only the tib_pstack and tib_pstacklimit should changed.

PTIB

Pointer to TIB