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

Go to the source code of this file.

Data Structures

struct  _MagickThreadValue


typedef struct _MagickThreadValue MagickThreadValue


MagickExport MagickBooleanType CreateMagickThreadKey (MagickThreadKey *key, void(*destructor)(void *))
MagickExport MagickBooleanType DeleteMagickThreadKey (MagickThreadKey key)
MagickExport void * GetMagickThreadValue (MagickThreadKey key)
MagickExport MagickBooleanType SetMagickThreadValue (MagickThreadKey key, const void *value)

Typedef Documentation

Function Documentation

MagickExport MagickBooleanType CreateMagickThreadKey ( MagickThreadKey key,
void(*)(void *)  destructor 
MagickExport void* GetMagickThreadValue ( MagickThreadKey  key)

Definition at line 190 of file thread.c.

References GetOpenMPThreadId(), pthread_getspecific, and _MagickThreadValue::values.

MagickExport MagickBooleanType SetMagickThreadValue ( MagickThreadKey  key,
const void *  value