Lines Matching defs:OSThread

160 struct OSThread  struct
165 // and OSThread must be identical for compatibility argument
182 OSThreadQueue* runQueue[MAX_SYSTEM_CORES]; argument
183 OSThreadLink linkRun[MAX_SYSTEM_CORES]; // link for the run queue. argument
185 OSThreadQueue* queue; // queue thread is on argument
186 OSThreadLink link; // queue link argument
188 OSThreadQueue queueJoin; // list of threads waiting for termination (join) argument
193 OSThreadLink linkActive; // link of all threads for debugging argument
198 OSThread_Proc entryPoint; // actual entry point (not per-thread crt startup) argument
203 OSThreadType type; argument
212 OSThreadCleanupCallback cleanupCallback; argument
213 OSThreadDeallocator deallocator; argument
219 OSThreadQueue suspendQueue; argument
221 … quantumTicks; // Max quantum is 0xF7F_FF08 ticks (0xF_FFFF microseconds)
222 u64 coretimeSumQuantumStart; // Sum of all "coretime" when thread started running
224 …akeCount; // Number of times thread was awakened (averageWake == sumWake / wakeCount)
225 … sumWakeDelta; // time when thread was awoken, used to calculate delta before running
226 … awakenedTime; // awakenedTime is not set if thread has been previously awakened,
227 … minWakeDelta; // but not yet run. COS scheduler will set values before executing new
228 OSTime maxWakeDelta; // awakened thread. Values can be inspected any time.
232 OSExceptionCallback dsiExCallback[MAX_SYSTEM_CORES];
233 OSExceptionCallback isiExCallback[MAX_SYSTEM_CORES];
234 OSExceptionCallback programExCallback[MAX_SYSTEM_CORES];
235 OSExceptionCallback perfMonExCallback[MAX_SYSTEM_CORES];
237 u32 stackSyncObjAllowed;
238 short numAllocatedTLSImages; // how many elements in the tlsImageAddrs array
239 …// maintained by debug agent to determine if this thread's TLS addresses need to be resent to MULTI
240 OSTLSBlock* tlsImageAddrs; // array of RPL TLS data areas specific to this thread
242 OSFastMutex * waitingFastMutex; // fastMutex we are currently waiting upon
243 …ntendedFastMutexes; // Queue of fastmutexes owned by this thread which currently have contention
245 …nedFastMutexes; // Queue of fastmutexes owned by this thread which currently have contention
248 …u32 osReserved[OSTHREAD_OS_RESERVED_BYTES / sizeof(u32)]; // Reserved for COS expansion