AcquireSemaphoreInfoActivateSemaphoreInfoLockSemaphoreInfoRelinquishSemaphoreInfoSemaphoreComponentGenesisSemaphoreComponentTerminusUnlockSemaphoreInfo

AcquireSemaphoreInfo

AcquireSemaphoreInfo() initializes the SemaphoreInfo structure.

The format of the AcquireSemaphoreInfo method is:

SemaphoreInfo *AcquireSemaphoreInfo(void)

ActivateSemaphoreInfo

ActivateSemaphoreInfo() activates a semaphore under protection of a mutex to ensure only one thread allocates the semaphore.

The format of the ActivateSemaphoreInfo method is:

void ActivateSemaphoreInfo(SemaphoreInfo **semaphore_info)

A description of each parameter follows:

semaphore_info
Specifies a pointer to an SemaphoreInfo structure.

LockSemaphoreInfo

LockSemaphoreInfo() locks a semaphore.

The format of the LockSemaphoreInfo method is:

void LockSemaphoreInfo(SemaphoreInfo *semaphore_info)

A description of each parameter follows:

semaphore_info
Specifies a pointer to an SemaphoreInfo structure.

RelinquishSemaphoreInfo

RelinquishSemaphoreInfo() destroys a semaphore.

The format of the RelinquishSemaphoreInfo method is:

void RelinquishSemaphoreInfo(SemaphoreInfo **semaphore_info)

A description of each parameter follows:

semaphore_info
Specifies a pointer to an SemaphoreInfo structure.

SemaphoreComponentGenesis

SemaphoreComponentGenesis() instantiates the semaphore component.

The format of the SemaphoreComponentGenesis method is:

WizardBooleanType SemaphoreComponentGenesis(void)

SemaphoreComponentTerminus

SemaphoreComponentTerminus() destroys the semaphore environment.

The format of the SemaphoreComponentTerminus method is:

SemaphoreComponentTerminus(void)

UnlockSemaphoreInfo

UnlockSemaphoreInfo() unlocks a semaphore.

The format of the UnlockSemaphoreInfo method is:

void UnlockSemaphoreInfo(SemaphoreInfo *semaphore_info)

A description of each parameter follows:

semaphore_info
Specifies a pointer to an SemaphoreInfo structure.