pspsdk-1.0+beta2
SceKernelThreadInfo Struct Reference

Structure to hold the status information for a thread. More...

#include <src/user/pspthreadman.h>

Collaboration diagram for SceKernelThreadInfo:

Data Fields

SceSize size
 Size of the structure.
char name [32]
 Nul terminated name of the thread.
SceUInt attr
 Thread attributes.
int status
 Thread status.
SceKernelThreadEntry entry
 Thread entry point.
void * stack
 Thread stack pointer.
int stackSize
 Thread stack size.
void * gpReg
 Pointer to the gp.
int initPriority
 Initial priority.
int currentPriority
 Current priority.
int waitType
 Wait type.
SceUID waitId
 Wait id.
int wakeupCount
 Wakeup count.
int exitStatus
 Exit status of the thread.
SceKernelSysClock runClocks
 Number of clock cycles run.
SceUInt intrPreemptCount
 Interrupt preemption count.
SceUInt threadPreemptCount
 Thread preemption count.
SceUInt releaseCount
 Release count.

Detailed Description

Structure to hold the status information for a thread.

See Also
sceKernelReferThreadStatus

Field Documentation

SceUInt SceKernelThreadInfo::attr

Thread attributes.

int SceKernelThreadInfo::currentPriority

Current priority.

SceKernelThreadEntry SceKernelThreadInfo::entry

Thread entry point.

int SceKernelThreadInfo::exitStatus

Exit status of the thread.

void* SceKernelThreadInfo::gpReg

Pointer to the gp.

int SceKernelThreadInfo::initPriority

Initial priority.

SceUInt SceKernelThreadInfo::intrPreemptCount

Interrupt preemption count.

char SceKernelThreadInfo::name[32]

Nul terminated name of the thread.

SceUInt SceKernelThreadInfo::releaseCount

Release count.

SceKernelSysClock SceKernelThreadInfo::runClocks

Number of clock cycles run.

SceSize SceKernelThreadInfo::size

Size of the structure.

Referenced by pspDebugGetStackTrace2().

void* SceKernelThreadInfo::stack

Thread stack pointer.

Referenced by pspDebugGetStackTrace2().

int SceKernelThreadInfo::stackSize

Thread stack size.

Referenced by pspDebugGetStackTrace2().

int SceKernelThreadInfo::status

Thread status.

SceUInt SceKernelThreadInfo::threadPreemptCount

Thread preemption count.

SceUID SceKernelThreadInfo::waitId

Wait id.

int SceKernelThreadInfo::waitType

Wait type.

int SceKernelThreadInfo::wakeupCount

Wakeup count.


The documentation for this struct was generated from the following file: