WUT
0.1
Wii U Toolchain
|
Go to the source code of this file.
Data Structures | |
struct | OSContext |
struct | OSMutexQueue |
struct | OSFastMutexQueue |
struct | OSThread |
Macros | |
#define | OS_CONTEXT_TAG 0x4F53436F6E747874ull |
#define | OS_THREAD_TAG 0x74487244u |
Typedefs | |
typedef struct OSContext | OSContext |
typedef struct OSFastMutex | OSFastMutex |
typedef struct OSFastMutexQueue | OSFastMutexQueue |
typedef struct OSMutex | OSMutex |
typedef struct OSMutexQueue | OSMutexQueue |
typedef struct OSThread | OSThread |
typedef uint8_t | OSThreadState |
typedef uint32_t | OSThreadRequest |
typedef uint8_t | OSThreadAttributes |
typedef int(* | OSThreadEntryPointFn) (int argc, const char **argv) |
typedef void(* | OSThreadCleanupCallbackFn) (OSThread *thread, void *stack) |
typedef void(* | OSThreadDeallocatorFn) (OSThread *thread, void *stack) |
Enumerations | |
enum | OSThreadState { OS_THREAD_STATE_NONE = 0, OS_THREAD_STATE_READY = 1 << 0, OS_THREAD_STATE_RUNNING = 1 << 1, OS_THREAD_STATE_WAITING = 1 << 2, OS_THREAD_STATE_MORIBUND = 1 << 3 } |
enum | OSThreadRequest { OS_THREAD_REQUEST_NONE = 0, OS_THREAD_REQUEST_SUSPEND = 1, OS_THREAD_REQUEST_CANCEL = 2 } |
enum | OSThreadAttributes { OS_THREAD_ATTRIB_AFFINITY_CPU0 = 1 << 0, OS_THREAD_ATTRIB_AFFINITY_CPU1 = 1 << 1, OS_THREAD_ATTRIB_AFFINITY_CPU2 = 1 << 2, OS_THREAD_ATTRIB_AFFINITY_ANY = ((1 << 0) | (1 << 1) | (1 << 2)), OS_THREAD_ATTRIB_DETACHED = 1 << 3, OS_THREAD_ATTRIB_STACK_USAGE = 1 << 5 } |