Jump to content

TIB: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== TIB ==
Thread Information Block
Thread Information Block.


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


==== C Declaration Method ====
==== C Declaration Method ====
Line 14: Line 13:


=== Fields ===
=== Fields ===
tib_pexchain     Head of exception handler chain.  
;tib_pexchain:Head of exception handler chain.  
tib_pstack       Pointer to the base of the stack.  
;tib_pstack:Pointer to the base of the stack.  
tib_pstacklimit Pointer to the end of the stack.
;tib_pstacklimit:Pointer to the end of the stack.
tib_ptib2       Pointer to a system-specific thread information block.
;tib_ptib2:Pointer to a system-specific thread information block.
tib_version     Version number for this Thread Information Block.
;tib_version:Version number for this Thread Information Block.
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.


[[Category:The OS/2 API Project]]
==PTIB==
Pointer to TIB
 
[[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