Pointers

      TCB field TCBptib points to the TIB for the related thread.

      TIB field tib_ptib2 points to the associated TIB2.

      GDT Selector 150b maps the TIB and is the default value for the FS register.

    Locations
      Allocated in the Process' Private Arena.
    VM Owner
      tktib (0xff3f) (also used for PIB ownership).

    Format

    TIB Thread Information Block system independent section.

    ┌────────────────┬──────┬──────┬────┬────────────────────────────────────────┐│Field Name      │Offset│Length│Type│Description                             │
    ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib_pexchain    │+0    │4     │D   │Head of exception handler chain         │
    ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib_pstack      │+4    │4     │D   │Pointer to base of stack                │
    ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib_pstacklimit │+8    │4     │D   │Pointer to end of stack                 │
    ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib_ptib2       │+c    │2     │W   │Pointer to system specific TIB          │
    ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib_version     │+10   │4     │D   │Version number for this TIB structure   │
    ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib_ordinal     │+14   │4     │D   │Thread Ordinal Number                   │
    └────────────────┴──────┴──────┴────┴────────────────────────────────────────┘
    

    TIB2 Thread Information Block system dependent section.

    ┌────────────────────┬──────┬──────┬────┬────────────────────────────────────────┐
    │Field Name          │Offset│Length│Type│Description                             │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib2_ultid          │+0    │4     │D   │Thread I.D.                             │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib2_ulpri          │+4    │4     │D   │Thread priority                         │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib2_version        │+8    │4     │D   │Version number for this structure       │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib2_usMCCount      │+c    │2     │W   │Must Complete count                     │
    ├────────────────────┼──────┼──────┼────┼────────────────────────────────────────┤
    │tib2_fMCForceFlag   │+e    │2     │W   │Must Complete force flag                │
    └────────────────────┴──────┴──────┴────┴────────────────────────────────────────┘
    


    [Back] [Next]