ocr: Semaphore (to control multiprocessor access to the thread) Byte Flag (for detecting stack overflow and thread corruption) Stack (for local variables & function calls) MPTHDID /--1- V - V V thread-->I mpsem "C" jmp_buf I 0 heap- II heap ==> <==/ stack pointer - size II / - -----1 - heap (for storing inherited defaults & passing args) jmp_buf (for saving the thread's execution state)