Lines Matching refs:SemaphoreInfo
59 struct SemaphoreInfo struct
97 MagickExport void ActivateSemaphoreInfo(SemaphoreInfo **semaphore_info) in ActivateSemaphoreInfo()
99 assert(semaphore_info != (SemaphoreInfo **) NULL); in ActivateSemaphoreInfo()
100 if (*semaphore_info == (SemaphoreInfo *) NULL) in ActivateSemaphoreInfo()
104 if (*semaphore_info == (SemaphoreInfo *) NULL) in ActivateSemaphoreInfo()
192 MagickExport SemaphoreInfo *AcquireSemaphoreInfo(void) in AcquireSemaphoreInfo()
194 SemaphoreInfo in AcquireSemaphoreInfo()
200 semaphore_info=(SemaphoreInfo *) AcquireSemaphoreMemory(1, in AcquireSemaphoreInfo()
202 if (semaphore_info == (SemaphoreInfo *) NULL) in AcquireSemaphoreInfo()
204 (void) memset(semaphore_info,0,sizeof(SemaphoreInfo)); in AcquireSemaphoreInfo()
293 MagickExport void LockSemaphoreInfo(SemaphoreInfo *semaphore_info) in LockSemaphoreInfo()
295 assert(semaphore_info != (SemaphoreInfo *) NULL); in LockSemaphoreInfo()
351 MagickExport void RelinquishSemaphoreInfo(SemaphoreInfo **semaphore_info) in RelinquishSemaphoreInfo()
353 assert(semaphore_info != (SemaphoreInfo **) NULL); in RelinquishSemaphoreInfo()
354 assert((*semaphore_info) != (SemaphoreInfo *) NULL); in RelinquishSemaphoreInfo()
377 *semaphore_info=(SemaphoreInfo *) RelinquishSemaphoreMemory(*semaphore_info); in RelinquishSemaphoreInfo()
450 MagickExport void UnlockSemaphoreInfo(SemaphoreInfo *semaphore_info) in UnlockSemaphoreInfo()
452 assert(semaphore_info != (SemaphoreInfo *) NULL); in UnlockSemaphoreInfo()