WizardsToolkit  1.0.7
semaphore.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct SemaphoreInfo SemaphoreInfo

Functions

WizardExport SemaphoreInfoAllocateSemaphoreInfo (void)
WizardExport void AcquireSemaphoreInfo (SemaphoreInfo **)
WizardExport void DestroySemaphoreInfo (SemaphoreInfo **)
WizardExport void RelinquishSemaphoreInfo (SemaphoreInfo *)
WizardExport void SemaphoreComponentTerminus (void)
WizardExport WizardBooleanType SemaphoreComponentGenesis (void)
WizardExport void LockSemaphoreInfo (SemaphoreInfo *)
WizardExport void UnlockSemaphoreInfo (SemaphoreInfo *)

Typedef Documentation

typedef struct SemaphoreInfo SemaphoreInfo

Definition at line 25 of file semaphore.h.


Function Documentation

WizardExport void AcquireSemaphoreInfo ( SemaphoreInfo **  )
WizardExport void DestroySemaphoreInfo ( SemaphoreInfo **  )
WizardExport void LockSemaphoreInfo ( SemaphoreInfo )
WizardExport void RelinquishSemaphoreInfo ( SemaphoreInfo )
WizardExport WizardBooleanType SemaphoreComponentGenesis ( void  )

Definition at line 340 of file semaphore.c.

References LockWizardMutex(), UnlockWizardMutex(), and WizardTrue.

Referenced by WizardsToolkitGenesis().

WizardExport void SemaphoreComponentTerminus ( void  )

Definition at line 365 of file semaphore.c.

Referenced by WizardsToolkitTerminus().

WizardExport void UnlockSemaphoreInfo ( SemaphoreInfo )

Definition at line 391 of file semaphore.c.

References SemaphoreInfo::signature, WizardSignature, IsWizardThreadEqual(), SemaphoreInfo::id, WizardFalse, SemaphoreInfo::reference_count, SemaphoreInfo::mutex, ThrowFatalException, and ResourceFatalError.

Referenced by DestroyBlob(), ConfigureComponentTerminus(), GetConfigureInfo(), GetConfigureInfoList(), GetConfigureList(), InitializeConfigureList(), ClearWizardException(), CatchException(), DestroyExceptionInfo(), InheritException(), AcquireFileLock(), DestroyFileInfo(), AppendValueToLinkedList(), ClearLinkedList(), DestroyHashmap(), DestroyLinkedList(), GetLastValueInLinkedList(), GetNextKeyInHashmap(), GetNextValueInHashmap(), GetNextValueInLinkedList(), GetValueFromHashmap(), GetValueFromLinkedList(), InsertValueInLinkedList(), InsertValueInSortedLinkedList(), LinkedListToArray(), IncreaseHashmapCapacity(), PutEntryInHashmap(), RemoveElementByValueFromLinkedList(), RemoveElementFromLinkedList(), RemoveEntryFromHashmap(), RemoveLastElementFromLinkedList(), ResetHashmapIterator(), ResetLinkedListIterator(), LocaleComponentTerminus(), CloseWizardLog(), GetLogInfo(), GetLogInfoList(), GetLogList(), InitializeLogList(), LogComponentTerminus(), LogWizardEventList(), SetLogEventMask(), SetLogFormat(), AcquireWizardMemory(), DestroyWizardMemory(), RelinquishWizardMemory(), ResizeWizardMemory(), GetMimeInfo(), GetMimeInfoList(), GetMimeList(), InitializeMimeList(), MimeComponentTerminus(), DestroyRandomInfo(), GenerateEntropicChaos(), GetEntropyFromReservoir(), SaveEntropyToReservoir(), SetRandomKey(), AcquireUniqueFileResource(), AcquireWizardResource(), GetWizardResource(), GetWizardResourceLimit(), ListWizardResourceInfo(), RelinquishWizardResource(), ResourceComponentTerminus(), SetWizardResourceLimit(), RelinquishSemaphoreInfo(), AddValueToSplayTree(), CloneSplayTree(), DeleteNodeByValueFromSplayTree(), DeleteNodeFromSplayTree(), DestroySplayTree(), GetNextKeyInSplayTree(), GetNextValueInSplayTree(), GetValueFromSplayTree(), RemoveNodeByValueFromSplayTree(), RemoveNodeFromSplayTree(), ResetSplayTree(), and ResetSplayTreeIterator().