Each thread is represented by a TCB and TSD structure..
Threads are organised within processes and assigned a unique identifier within the owning process known as the Tid.
All threads within the system are assigned a system wide unique identifier known as the Thread Slot Number
Refer to the following for more detailed information