vitasdk
Documentation of the vitasdk
|
#include <vitasdk/build_utils.h>
#include <psp2kern/types.h>
#include <psp2common/kernel/threadmgr.h>
Go to the source code of this file.
Functions | |
SceUID | ksceKernelCreateThread (const char *name, SceKernelThreadEntry entry, int initPriority, SceSize stackSize, SceUInt attr, int cpuAffinityMask, const SceKernelThreadOptParam *option) |
Create a thread. More... | |
int | ksceKernelDeleteThread (SceUID thid) |
Delate a thread. More... | |
int | ksceKernelStartThread (SceUID thid, SceSize arglen, void *argp) |
Start a created thread. More... | |
int | ksceKernelExitThread (int status) |
Exit a thread. More... | |
int | ksceKernelExitDeleteThread (int status) |
Exit a thread and delete itself. More... | |
int | ksceKernelWaitThreadEnd (SceUID thid, int *stat, SceUInt *timeout) |
Wait until a thread has ended. More... | |
int | ksceKernelWaitThreadEndCB (SceUID thid, int *stat, SceUInt *timeout) |
Wait until a thread has ended and handle callbacks if necessary. More... | |
int | ksceKernelDelayThread (SceUInt delay) |
Delay the current thread by a specified number of microseconds. More... | |
int | ksceKernelDelayThreadCB (SceUInt delay) |
Delay the current thread by a specified number of microseconds and handle any callbacks. More... | |
int | ksceKernelChangeThreadPriority (SceUID thid, int priority) |
Change the threads current priority. More... | |
int | ksceKernelGetThreadId (void) |
Get the current thread Id. More... | |
int | ksceKernelGetThreadCurrentPriority (void) |
Get the current priority of the thread you are in. More... | |
int | ksceKernelGetThreadStackFreeSize (SceUID thid) |
Get the free stack size for a thread. More... | |
int | ksceKernelGetThreadInfo (SceUID thid, SceKernelThreadInfo *info) |
Get the thread info by thread id. More... | |