PSPSDK 2024-10-31
Loading...
Searching...
No Matches
SceKernelSemaInfo Struct Reference

Current state of a semaphore. More...

#include <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

◆ attr

SceUInt SceKernelSemaInfo::attr

Attributes.

◆ currentCount

int SceKernelSemaInfo::currentCount

The current count.

◆ initCount

int SceKernelSemaInfo::initCount

The initial count the semaphore was created with.

◆ maxCount

int SceKernelSemaInfo::maxCount

The maximum count.

◆ name

char SceKernelSemaInfo::name[32]

NUL-terminated name of the semaphore.

◆ numWaitThreads

int SceKernelSemaInfo::numWaitThreads

The number of threads waiting on the semaphore.

◆ size

SceSize SceKernelSemaInfo::size

Size of the SceKernelSemaInfo structure.


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