#include <thread.h>
|
OSContext | context |
|
uint32_t | tag |
|
OSThreadState | state |
|
OSThreadAttributes | attr |
|
uint16_t | id |
|
int32_t | suspendCounter |
| Suspend count (increased by OSSuspendThread). More...
|
|
int32_t | priority |
| Actual priority of thread. More...
|
|
int32_t | basePriority |
| Base priority of thread, 0 is highest priority, 31 is lowest priority. More...
|
|
int32_t | exitValue |
| Exit value. More...
|
|
OSThreadQueue * | queue |
| Queue the thread is currently waiting on. More...
|
|
OSThreadLink | link |
| Link used for thread queue. More...
|
|
OSThreadQueue | joinQueue |
| Queue of threads waiting to join this thread. More...
|
|
OSMutex * | mutex |
| Mutex this thread is waiting to lock. More...
|
|
OSMutexQueue | mutexQueue |
| Queue of mutexes this thread owns. More...
|
|
OSThreadLink | activeLink |
| Link for global active thread queue. More...
|
|
void * | stackStart |
| Stack start (top, highest address) More...
|
|
void * | stackEnd |
| Stack end (bottom, lowest address) More...
|
|
OSThreadEntryPointFn | entryPoint |
| Thread entry point. More...
|
|
uint32_t | specific [0x10] |
| Thread specific values, accessed with OSSetThreadSpecific and OSGetThreadSpecific. More...
|
|
const char * | name |
| Thread name, accessed with OSSetThreadName and OSGetThreadName. More...
|
|
void * | userStackPointer |
| The stack pointer passed in OSCreateThread. More...
|
|
OSThreadCleanupCallbackFn | cleanupCallback |
| Called just before thread is terminated, set with OSSetThreadCleanupCallback. More...
|
|
OSThreadDeallocatorFn | deallocator |
| Called just after a thread is terminated, set with OSSetThreadDeallocator. More...
|
|
BOOL | cancelState |
| If TRUE then a thread can be cancelled or suspended, set with OSSetThreadCancelState. More...
|
|
OSThreadRequest | requestFlag |
| Current thread request, used for cancelleing and suspending the thread. More...
|
|
int32_t | needSuspend |
| Pending suspend request count. More...
|
|
int32_t | suspendResult |
| Result of thread suspend. More...
|
|
OSThreadQueue | suspendQueue |
| Queue of threads waiting for a thread to be suspended. More...
|
|
Definition at line 171 of file thread.h.
Link for global active thread queue.
Definition at line 209 of file thread.h.
Base priority of thread, 0 is highest priority, 31 is lowest priority.
Definition at line 186 of file thread.h.
If TRUE then a thread can be cancelled or suspended, set with OSSetThreadCancelState.
Definition at line 242 of file thread.h.
Called just before thread is terminated, set with OSSetThreadCleanupCallback.
Definition at line 236 of file thread.h.
Called just after a thread is terminated, set with OSSetThreadDeallocator.
Definition at line 239 of file thread.h.
Thread entry point.
Definition at line 218 of file thread.h.
Queue of threads waiting to join this thread.
Definition at line 200 of file thread.h.
Link used for thread queue.
Definition at line 197 of file thread.h.
Mutex this thread is waiting to lock.
Definition at line 203 of file thread.h.
Queue of mutexes this thread owns.
Definition at line 206 of file thread.h.
Thread name, accessed with OSSetThreadName and OSGetThreadName.
Definition at line 228 of file thread.h.
Pending suspend request count.
Definition at line 248 of file thread.h.
Actual priority of thread.
Definition at line 183 of file thread.h.
Queue the thread is currently waiting on.
Definition at line 194 of file thread.h.
Current thread request, used for cancelleing and suspending the thread.
Definition at line 245 of file thread.h.
Thread specific values, accessed with OSSetThreadSpecific and OSGetThreadSpecific.
Definition at line 223 of file thread.h.
Stack end (bottom, lowest address)
Definition at line 215 of file thread.h.
Stack start (top, highest address)
Definition at line 212 of file thread.h.
Suspend count (increased by OSSuspendThread).
Definition at line 180 of file thread.h.
Queue of threads waiting for a thread to be suspended.
Definition at line 254 of file thread.h.
Result of thread suspend.
Definition at line 251 of file thread.h.
The stack pointer passed in OSCreateThread.
Definition at line 233 of file thread.h.
The documentation for this struct was generated from the following file:
- D:/Programming/Projects/wut/include/coreinit/thread.h