Under previous versions of OS/2, control information for threads was stored in a number of different locations and accessed via a number of function calls. Under Version 2.0, much of this information has been combined into a thread information block (TIB). The TIB contains the following information for the current thread:
The TIB is accessed using the DosGetInfoBlocks() function, which replaces the DosGetPrty(), DosGetPID(), DosGetPPID() and DosGetInfoSeg() functions.