3 * - Acess kernel emulation on another OS using SDL and UDP
6 * - Thread and process handling
11 typedef struct sThread
17 struct sThread *Parent;
22 Uint Config[NUM_CFG_ENTRIES];
27 __thread tThread *gpCurrentThread;
30 tUID Threads_GetUID() { return gpCurrentThread->UID; }
31 tGID Threads_GetGID() { return gpCurrentThread->GID; }
32 tTID Threads_GetTID() { return gpCurrentThread->TID; }
33 tPID Threads_GetPID() { return gpCurrentThread->PID; }
35 Uint *Threads_GetCfgPtr(int Index)
37 return &gpCurrentThread->Config[Index];