Data Structures | |
| struct | _ThreadStatus |
| Structure to hold the status information for a thread. More... | |
Typedefs | |
| typedef *struct _ThreadStatus | ThreadStatus |
| Structure to hold the status information for a thread. | |
Enumerations | |
| enum | ThreadAttributes { THREAD_ATTR_VFPU = 0x00004000, THREAD_ATTR_USER = 0x80000000 } |
| Attribute for threads. More... | |
Functions | |
| int | sceKernelCreateSema (const char *name, int attr, int initVal, int maxVal, int option) |
| Creates a new semaphore. | |
| int | sceKernelDeleteSema (int semaid) |
| Destroy a semaphore. | |
| int | sceKernelSignalSema (int semaid, int signal) |
| Send a signal to a semaphore. | |
| int | sceKernelWaitSema (int semaid, int signal, int unknown) |
| Lock a semaphore. | |
| int | sceKernelWaitSemaCB (int semaid, int signal, int unknown) |
| Lock a semaphore a handle callbacks if necessary. | |
| int | sceKernelSleepThread (void) |
| Sleep thread. | |
| int | sceKernelCreateThread (const char *name, void *func, int initPriority, int stacksize, int attributes, int option) |
| Create a thread. | |
| int | sceKernelDeleteThread (int thid) |
| Delate a thread. | |
| int | sceKernelStartThread (int thid, int arglen, void *args) |
| Start a created thread. | |
| int | sceKernelExitThread (int status) |
| Exit a thread. | |
| int | sceKernelCreateCallback (const char *name, void *func, void *arg) |
| Create callback. | |
| void | sceKernelSleepThreadCB (void) |
| Sleep thread but service any callbacks as necessary. | |
| int | sceKernelGetThreadId (void) |
| Get the current thread Id. | |
| void | sceKernelDelayThread (int delay) |
| Delay the current thread by a specified number of microseconds. | |
| void | sceKernelDelayThreadCB (int delay) |
| Delay the current thread by a specified number of microseconds and handle any callbacks. | |
| int | sceKernelChangeThreadPriority (int thid, int priority) |
| Change the threads current priority. | |
| int | sceKernelReferThreadStatus (int thid, ThreadStatus *status) |
| Get the status information for the specified thread. | |
| int | sceKernelWaitEndThread (int thid, void *unk) |
| Wait until a thread has ended. | |
| int | sceKernelWaitEndThreadCB (int thid, void *unk) |
| Wait until a thread has ended and handle callbacks if necessary. | |
| int | sceKernelCreateEventFlag (const char *name, int unk1, int bits, int unk3) |
| Create an event flag. | |
| int | sceKernelSetEventFlag (int evid, u32 bits) |
| Set an event flag bit pattern. | |
|
|
Structure to hold the status information for a thread.
|
|
|
Attribute for threads.
|
|
||||||||||||
|
Change the threads current priority.
|
|
||||||||||||||||
|
Create callback.
|
|
||||||||||||||||||||
|
Create an event flag.
|
|
||||||||||||||||||||||||
|
Creates a new semaphore.
|
|
||||||||||||||||||||||||||||
|
Create a thread.
|
|
|
Delay the current thread by a specified number of microseconds.
|
|
|
Delay the current thread by a specified number of microseconds and handle any callbacks.
|
|
|
Destroy a semaphore.
|
|
|
Delate a thread.
|
|
|
Exit a thread.
|
|
|
Get the current thread Id.
|
|
||||||||||||
|
Get the status information for the specified thread.
|
|
||||||||||||
|
Set an event flag bit pattern.
|
|
||||||||||||
|
Send a signal to a semaphore.
|
|
|
Sleep thread.
|
|
|
Sleep thread but service any callbacks as necessary.
|
|
||||||||||||||||
|
Start a created thread.
|
|
||||||||||||
|
Wait until a thread has ended.
|
|
||||||||||||
|
Wait until a thread has ended and handle callbacks if necessary.
|
|
||||||||||||||||
|
Lock a semaphore.
|
|
||||||||||||||||
|
Lock a semaphore a handle callbacks if necessary.
|
1.4.3-20050530