Module semaphore Methods
AcquireSemaphoreInfo
AcquireSemaphoreInfo() acquires a semaphore.
The format of the AcquireSemaphoreInfo method is:
void AcquireSemaphoreInfo(SemaphoreInfo **semaphore_info)
A description of each parameter follows:
semaphore_info
Specifies a pointer to an SemaphoreInfo structure.
AllocateSemaphoreInfo
AllocateSemaphoreInfo() initializes the SemaphoreInfo structure.
The format of the AllocateSemaphoreInfo method is:
SemaphoreInfo *AllocateSemaphoreInfo(void)
DestroySemaphoreInfo
DestroySemaphoreInfo() destroys a semaphore.
The format of the DestroySemaphoreInfo method is:
void DestroySemaphoreInfo(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() relinquishes a semaphore.
The format of the RelinquishSemaphoreInfo method is:
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.

![[sponsor]](../../images/networkredux.png)