MagickCore 7.0.10
thread.c File Reference
#include "wizard/studio.h"
#include "wizard/memory_.h"
#include "wizard/thread_.h"
#include "wizard/thread-private.h"
Include dependency graph for thread.c:

Go to the source code of this file.

Functions

WizardExport WizardBooleanType WizardCreateThreadKey (WizardThreadKey *key)
 
WizardExport WizardBooleanType WizardDeleteThreadKey (WizardThreadKey key)
 
WizardExport void * WizardGetThreadValue (WizardThreadKey key)
 
WizardExport WizardBooleanType WizardSetThreadValue (WizardThreadKey key, const void *value)
 

Function Documentation

◆ WizardCreateThreadKey()

WizardExport WizardBooleanType WizardCreateThreadKey ( WizardThreadKey key)

Definition at line 64 of file thread.c.

References AcquireWizardMemory(), WizardFalse, and WizardTrue.

◆ WizardDeleteThreadKey()

WizardExport WizardBooleanType WizardDeleteThreadKey ( WizardThreadKey  key)

Definition at line 99 of file thread.c.

References RelinquishWizardMemory(), WizardFalse, and WizardTrue.

◆ WizardGetThreadValue()

WizardExport void * WizardGetThreadValue ( WizardThreadKey  key)

Definition at line 134 of file thread.c.

◆ WizardSetThreadValue()

WizardExport WizardBooleanType WizardSetThreadValue ( WizardThreadKey  key,
const void *  value 
)

Definition at line 170 of file thread.c.

References WizardFalse, and WizardTrue.