Jump to content

TIB: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
== TIB ==
== TIB ==
Thread Information Block.  
Thread Information Block.  


=== Type ===  
=== Type ===
 
  [[OS2 API:DataType:PVOID|PVOID]]  tib_pexchain
  [[OS2 API:DataType:PVOID|PVOID]]  tib_pexchain
  [[OS2 API:DataType:PVOID|PVOID]]  tib_pstack
  [[OS2 API:DataType:PVOID|PVOID]]  tib_pstack
  [[OS2 API:DataType:PVOID|PVOID]]  tib_pstacklimit
  [[OS2 API:DataType:PVOID|PVOID]]  tib_pstacklimit
  [[OS2 API:DataType:TIB2|PTIB2]] tib_ptib2
  [[OS2 API:DataType:TIB2|PTIB2]]   tib_ptib2
  [[OS2 API:DataType:ULONG|ULONG]]  tib_version
  [[OS2 API:DataType:ULONG|ULONG]]  tib_version
  [[OS2 API:DataType:ULONG|ULONG]]  tib_ordinal
  [[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_pexchain    Head of exception handler chain.  
  tib_pstack      Pointer to the base of the stack.  
  tib_pstack      Pointer to the base of the stack.  
Line 26: Line 22:


=== 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.
[[OS2_API | Back to OS/2 API]]


[[Category:The OS/2 API Project]]
[[Category:The OS/2 API Project]]

Revision as of 18:11, 5 July 2016

TIB

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.