MagickCore
6.9.10
Convert, Edit, Or Compose Bitmap Images
|
Go to the documentation of this file.
18 #ifndef MAGICKCORE_SEMAPHORE_H
19 #define MAGICKCORE_SEMAPHORE_H
21 #if defined(__cplusplus) || defined(c_plusplus)
41 #if defined(__cplusplus) || defined(c_plusplus)
MagickExport void LockSemaphoreInfo(SemaphoreInfo *semaphore_info)
Definition: semaphore.c:345
#define MagickExport
Definition: method-attribute.h:80
size_t signature
Definition: semaphore.c:71
#define AlignedExtent(size, alignment)
ssize_t reference_count
Definition: semaphore.c:68
MagickExport void ActivateSemaphoreInfo(SemaphoreInfo **)
MagickExport void SemaphoreComponentTerminus(void)
Definition: semaphore.c:423
#define MagickCoreSignature
Definition: method-attribute.h:86
#define pthread_mutexattr_init
Definition: vms.h:831
static void InitializeMagickMutex(void)
Definition: semaphore-private.h:51
size_t MagickMutexType
Definition: thread-private.h:55
MagickExport void DestroySemaphoreInfo(SemaphoreInfo **)
static void LockMagickMutex(void)
Definition: semaphore-private.h:60
#define pthread_mutex_unlock
Definition: vms.h:826
pid_t MagickThreadType
Definition: thread_.h:34
MagickMutexType mutex
Definition: semaphore.c:62
#define pthread_mutex_lock
Definition: vms.h:824
MagickExport MagickBooleanType SemaphoreComponentGenesis(void)
Definition: semaphore.c:399
@ MagickTrue
Definition: magick-type.h:194
MagickExport void SemaphoreComponentTerminus(void)
MagickExport MagickBooleanType SemaphoreComponentGenesis(void)
Definition: semaphore.c:399
MagickExport void LockSemaphoreInfo(SemaphoreInfo *)
MagickExport ssize_t FormatLocaleFile(FILE *file, const char *magick_restrict format,...)
Definition: locale.c:407
Definition: semaphore.c:59
#define pthread_mutex_destroy
Definition: vms.h:822
#define CACHE_LINE_SIZE
Definition: memory-private.h:30
static void DestroyMagickMutex(void)
Definition: semaphore-private.h:42
#define pthread_mutex_init
Definition: vms.h:823
static MagickThreadType GetMagickThreadId(void)
Definition: thread-private.h:58
@ MagickFalse
Definition: magick-type.h:193
MagickExport SemaphoreInfo * AllocateSemaphoreInfo(void)
Definition: semaphore.c:192
#define pthread_mutexattr_destroy
Definition: vms.h:829
MagickExport void UnlockSemaphoreInfo(SemaphoreInfo *)
Definition: semaphore.c:450
MagickThreadType id
Definition: semaphore.c:65
MagickExport SemaphoreInfo * AllocateSemaphoreInfo(void)
Definition: semaphore.c:192
MagickExport void ActivateSemaphoreInfo(SemaphoreInfo **semaphore_info)
Definition: semaphore.c:97
MagickExport void DestroySemaphoreInfo(SemaphoreInfo **semaphore_info)
Definition: semaphore.c:293
MagickBooleanType
Definition: magick-type.h:191
static void * AcquireSemaphoreMemory(const size_t count, const size_t quantum)
Definition: semaphore.c:129
#define ThrowFatalException(severity, tag)
Definition: exception-private.h:42
MagickExport void UnlockSemaphoreInfo(SemaphoreInfo *semaphore_info)
Definition: semaphore.c:450
static void * RelinquishSemaphoreMemory(void *memory)
Definition: semaphore.c:178
static void UnlockMagickMutex(void)
Definition: semaphore-private.h:82
@ ResourceLimitFatalError
Definition: exception.h:78
static MagickBooleanType IsMagickThreadEqual(const MagickThreadType id)
Definition: thread-private.h:93