|
MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"#include "MagickCore/memory_.h"#include "MagickCore/thread_.h"#include "MagickCore/thread-private.h"Go to the source code of this file.
Data Structures | |
| struct | _MagickThreadValue |
Typedefs | |
| typedef struct _MagickThreadValue | MagickThreadValue |
Functions | |
| 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 struct _MagickThreadValue MagickThreadValue |
| MagickExport MagickBooleanType CreateMagickThreadKey | ( | MagickThreadKey * | key, |
| void(*)(void *) | destructor | ||
| ) |
Definition at line 84 of file thread.c.
References AcquireMagickMemory(), AcquireQuantumMemory(), GetOpenMPMaximumThreads(), magick_unreferenced, MagickFalse, MagickTrue, pthread_key_create, and RelinquishMagickMemory().
| MagickExport MagickBooleanType DeleteMagickThreadKey | ( | MagickThreadKey | key | ) |
Definition at line 139 of file thread.c.
References _MagickThreadValue::destructor, MagickFalse, MagickTrue, _MagickThreadValue::number_threads, pthread_key_delete, RelinquishMagickMemory(), and _MagickThreadValue::values.
| 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 | ||
| ) |
Definition at line 233 of file thread.c.
References GetOpenMPThreadId(), MagickFalse, MagickTrue, pthread_setspecific, and _MagickThreadValue::values.