vitasdk
Documentation of the vitasdk
threadmgr.h File Reference

Go to the source code of this file.

Typedefs

typedef SceInt32(* SceKernelTimerFunction) (SceInt32 common)
 Kernel timer callback.
 

Functions

SceInt32 ksceKernelChangeThreadCpuAffinityMask (SceUID thread_id, SceInt32 cpu_affinity_mask)
 Changes a thread's CPU affinity mask.
 
int ksceKernelClearEvent (SceUID event_id, SceUInt32 clear_pattern)
 Clears event bits by ANDing the current pattern with the supplied pattern.
 
SceUInt64 ksceKernelGetTimerBaseWide (SceUID timer_id)
 Gets the time from which a timer is measured.
 
SceUInt64 ksceKernelGetTimerTimeWide (SceUID timer_id)
 Gets a timer's current time.
 
SceUID ksceKernelRegisterTimer (const char *name, SceUInt32 delay, SceKernelTimerFunction function, SceInt32 common)
 Creates and immediately schedules a kernel alarm callback.
 
int ksceKernelStartTimer (SceUID timer_id)
 Starts a timer.
 
int ksceKernelStopTimer (SceUID timer_id)
 Stops a timer.
 
int ksceKernelWaitEvent (SceUID event_id, SceUInt32 wait_pattern, SceUInt32 *result_pattern, SceUInt64 *user_data, SceUInt32 *timeout)
 Waits for an event pattern without running thread callbacks.