MagickCore  6.7.5
thread.c File Reference
Include dependency graph for thread.c:

Go to the source code of this file.

Functions

MagickExport MagickBooleanType MagickCreateThreadKey (MagickThreadKey *key)
MagickExport MagickBooleanType MagickDeleteThreadKey (MagickThreadKey key)
MagickExport void * MagickGetThreadValue (MagickThreadKey key)
MagickExport MagickBooleanType MagickSetThreadValue (MagickThreadKey key, const void *value)

Function Documentation

MagickExport MagickBooleanType MagickCreateThreadKey ( MagickThreadKey key)

Definition at line 64 of file thread.c.

References pthread_key_create, MagickTrue, MagickFalse, and AcquireMagickMemory().

MagickExport MagickBooleanType MagickDeleteThreadKey ( MagickThreadKey  key)

Definition at line 99 of file thread.c.

References pthread_key_delete, MagickTrue, MagickFalse, and RelinquishMagickMemory().

MagickExport void* MagickGetThreadValue ( MagickThreadKey  key)

Definition at line 134 of file thread.c.

References pthread_getspecific.

MagickExport MagickBooleanType MagickSetThreadValue ( MagickThreadKey  key,
const void *  value 
)

Definition at line 170 of file thread.c.

References pthread_setspecific, MagickTrue, and MagickFalse.