|
WizardsToolkit
1.0.7
|
#include "wizard/studio.h"#include "wizard/exception.h"#include "wizard/exception-private.h"#include "wizard/memory_.h"#include "wizard/semaphore.h"#include "wizard/semaphore-private.h"#include "wizard/string_.h"#include "wizard/thread_.h"#include "wizard/thread-private.h"
Go to the source code of this file.
Data Structures | |
| struct | SemaphoreInfo |
Functions | |
| WizardExport void | AcquireSemaphoreInfo (SemaphoreInfo **semaphore_info) |
| WizardExport SemaphoreInfo * | AllocateSemaphoreInfo (void) |
| WizardExport void | DestroySemaphoreInfo (SemaphoreInfo **semaphore_info) |
| WizardExport void | LockSemaphoreInfo (SemaphoreInfo *semaphore_info) |
| WizardExport void | RelinquishSemaphoreInfo (SemaphoreInfo *semaphore_info) |
| WizardExport WizardBooleanType | SemaphoreComponentGenesis (void) |
| WizardExport void | SemaphoreComponentTerminus (void) |
| WizardExport void | UnlockSemaphoreInfo (SemaphoreInfo *semaphore_info) |
| WizardExport void AcquireSemaphoreInfo | ( | SemaphoreInfo ** | semaphore_info | ) |
Definition at line 94 of file semaphore.c.
References LockWizardMutex(), AllocateSemaphoreInfo(), and UnlockWizardMutex().
Referenced by ConfigureComponentGenesis(), ConfigureComponentTerminus(), InitializeConfigureList(), LocaleComponentGenesis(), LocaleComponentTerminus(), InitializeLogList(), LogComponentGenesis(), LogComponentTerminus(), AcquireWizardMemory(), DestroyWizardMemory(), InitializeMimeList(), MimeComponentGenesis(), MimeComponentTerminus(), RandomComponentGenesis(), RandomComponentTerminus(), AcquireUniqueFileResource(), AcquireWizardResource(), GetWizardResource(), GetWizardResourceLimit(), ListWizardResourceInfo(), RelinquishWizardResource(), ResourceComponentGenesis(), ResourceComponentTerminus(), and SetWizardResourceLimit().
| WizardExport SemaphoreInfo* AllocateSemaphoreInfo | ( | void | ) |
Definition at line 124 of file semaphore.c.
References ThrowFatalException, ResourceFatalError, ResetWizardMemory(), SemaphoreInfo::mutex, SemaphoreInfo::id, GetWizardThreadId(), SemaphoreInfo::reference_count, SemaphoreInfo::signature, and WizardSignature.
Referenced by GetBlobInfo(), GetExceptionInfo(), AcquireFileInfo(), NewHashmap(), NewLinkedList(), AcquireRandomInfo(), AcquireSemaphoreInfo(), and NewSplayTree().
| WizardExport void DestroySemaphoreInfo | ( | SemaphoreInfo ** | semaphore_info | ) |
Definition at line 211 of file semaphore.c.
References WizardSignature, LockWizardMutex(), ThrowFatalException, ResourceFatalError, and UnlockWizardMutex().
Referenced by DestroyBlob(), ConfigureComponentTerminus(), DestroyExceptionInfo(), DestroyFileInfo(), DestroyHashmap(), DestroyLinkedList(), IncreaseHashmapCapacity(), LocaleComponentTerminus(), LogComponentTerminus(), DestroyWizardMemory(), MimeComponentTerminus(), DestroyRandomInfo(), RandomComponentTerminus(), ResourceComponentTerminus(), and DestroySplayTree().
| WizardExport void LockSemaphoreInfo | ( | SemaphoreInfo * | semaphore_info | ) |
Definition at line 261 of file semaphore.c.
References SemaphoreInfo::signature, WizardSignature, SemaphoreInfo::mutex, ThrowFatalException, ResourceFatalError, SemaphoreInfo::reference_count, IsWizardThreadEqual(), SemaphoreInfo::id, WizardFalse, and GetWizardThreadId().
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(), AddValueToSplayTree(), CloneSplayTree(), DeleteNodeByValueFromSplayTree(), DeleteNodeFromSplayTree(), DestroySplayTree(), GetNextKeyInSplayTree(), GetNextValueInSplayTree(), GetValueFromSplayTree(), RemoveNodeByValueFromSplayTree(), RemoveNodeFromSplayTree(), ResetSplayTree(), and ResetSplayTreeIterator().
| WizardExport void RelinquishSemaphoreInfo | ( | SemaphoreInfo * | semaphore_info | ) |
Definition at line 315 of file semaphore.c.
References SemaphoreInfo::signature, WizardSignature, and UnlockSemaphoreInfo().
| 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 * | semaphore_info | ) |
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().