pspsdk-1.0+beta2
SceKernelSemaInfo Struct Reference

Current state of a semaphore. More...

#include <src/user/pspthreadman.h>

Data Fields

SceSize size
 Size of the SceKernelSemaInfo structure.
char name [32]
 NUL-terminated name of the semaphore.
SceUInt attr
 Attributes.
int initCount
 The initial count the semaphore was created with.
int currentCount
 The current count.
int maxCount
 The maximum count.
int numWaitThreads
 The number of threads waiting on the semaphore.

Detailed Description

Current state of a semaphore.

See Also
sceKernelReferSemaStatus.

Field Documentation

SceUInt SceKernelSemaInfo::attr

Attributes.

int SceKernelSemaInfo::currentCount

The current count.

int SceKernelSemaInfo::initCount

The initial count the semaphore was created with.

int SceKernelSemaInfo::maxCount

The maximum count.

char SceKernelSemaInfo::name[32]

NUL-terminated name of the semaphore.

int SceKernelSemaInfo::numWaitThreads

The number of threads waiting on the semaphore.

SceSize SceKernelSemaInfo::size

Size of the SceKernelSemaInfo structure.


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