TIB: Difference between revisions
Appearance
m →Type |
mNo edit summary |
||
Line 1: | Line 1: | ||
Thread Information Block | Thread Information Block | ||
Line 6: | Line 5: | ||
PVOID tib_pstack | PVOID tib_pstack | ||
PVOID tib_pstacklimit | PVOID tib_pstacklimit | ||
PTIB2 tib_ptib2 | [[PTIB2]] tib_ptib2 | ||
[[ULONG]] tib_version | [[ULONG]] tib_version | ||
ULONG tib_ordinal | ULONG tib_ordinal | ||
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