[Wizard's Toolkit] [sponsor]

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)

A description of each parameter follows:

semaphore_info

    Method AllocateSemaphoreInfo returns a pointer to an initialized SemaphoreInfo structure.

DestroySemaphore

DestroySemaphore() destroys the semaphore environment.

The format of the DestroySemaphore method is:

  DestroySemaphore(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.

InitializeSemaphore

InitializeSemaphore() initializes the semaphore environment.

The format of the InitializeSemaphore method is:

  InitializeSemaphore(void)

LockSemaphoreInfo

LockSemaphoreInfo() locks a semaphore.

The format of the LockSemaphoreInfo method is:

  WizardBooleanType 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.

UnlockSemaphoreInfo

UnlockSemaphoreInfo() unlocks a semaphore.

The format of the UnlockSemaphoreInfo method is:

  WizardBooleanType UnlockSemaphoreInfo(SemaphoreInfo *semaphore_info)

A description of each parameter follows:

semaphore_info

    Specifies a pointer to an SemaphoreInfo structure.