Jump to content

TIB: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:DataType:TIB to TIB
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== TIB ==
Thread Information Block
Thread Information Block


Line 21: Line 20:
;tib_ordinal:Thread ordinal number.
;tib_ordinal:Thread ordinal number.


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


[[Category:Data type]]
[[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