Lines Matching refs:resource_semaphore

141   *resource_semaphore = (SemaphoreInfo *) NULL;  variable
256 if (resource_semaphore == (SemaphoreInfo *) NULL) in AcquireMagickResource()
257 ActivateSemaphoreInfo(&resource_semaphore); in AcquireMagickResource()
258 LockSemaphoreInfo(resource_semaphore); in AcquireMagickResource()
343 UnlockSemaphoreInfo(resource_semaphore); in AcquireMagickResource()
553 if (resource_semaphore == (SemaphoreInfo *) NULL) in AcquireUniqueFileResource()
554 ActivateSemaphoreInfo(&resource_semaphore); in AcquireUniqueFileResource()
555 LockSemaphoreInfo(resource_semaphore); in AcquireUniqueFileResource()
558 UnlockSemaphoreInfo(resource_semaphore); in AcquireUniqueFileResource()
609 if (resource_semaphore == (SemaphoreInfo *) NULL) in AcquireUniqueFileResource()
610 ActivateSemaphoreInfo(&resource_semaphore); in AcquireUniqueFileResource()
611 LockSemaphoreInfo(resource_semaphore); in AcquireUniqueFileResource()
615 UnlockSemaphoreInfo(resource_semaphore); in AcquireUniqueFileResource()
683 if (resource_semaphore == (SemaphoreInfo *) NULL) in GetMagickResource()
684 ActivateSemaphoreInfo(&resource_semaphore); in GetMagickResource()
685 LockSemaphoreInfo(resource_semaphore); in GetMagickResource()
716 UnlockSemaphoreInfo(resource_semaphore); in GetMagickResource()
855 if (resource_semaphore == (SemaphoreInfo *) NULL) in ListMagickResourceInfo()
856 ActivateSemaphoreInfo(&resource_semaphore); in ListMagickResourceInfo()
857 LockSemaphoreInfo(resource_semaphore); in ListMagickResourceInfo()
893 UnlockSemaphoreInfo(resource_semaphore); in ListMagickResourceInfo()
946 if (resource_semaphore == (SemaphoreInfo *) NULL) in RelinquishMagickResource()
947 ActivateSemaphoreInfo(&resource_semaphore); in RelinquishMagickResource()
948 LockSemaphoreInfo(resource_semaphore); in RelinquishMagickResource()
1001 UnlockSemaphoreInfo(resource_semaphore); in RelinquishMagickResource()
1054 if (resource_semaphore == (SemaphoreInfo *) NULL) in RelinquishUniqueFileResource()
1055 ActivateSemaphoreInfo(&resource_semaphore); in RelinquishUniqueFileResource()
1056 LockSemaphoreInfo(resource_semaphore); in RelinquishUniqueFileResource()
1059 UnlockSemaphoreInfo(resource_semaphore); in RelinquishUniqueFileResource()
1104 if (resource_semaphore == (SemaphoreInfo *) NULL) in ResourceComponentGenesis()
1105 resource_semaphore=AcquireSemaphoreInfo(); in ResourceComponentGenesis()
1249 if (resource_semaphore == (SemaphoreInfo *) NULL) in ResourceComponentTerminus()
1250 resource_semaphore=AcquireSemaphoreInfo(); in ResourceComponentTerminus()
1251 LockSemaphoreInfo(resource_semaphore); in ResourceComponentTerminus()
1256 UnlockSemaphoreInfo(resource_semaphore); in ResourceComponentTerminus()
1257 RelinquishSemaphoreInfo(&resource_semaphore); in ResourceComponentTerminus()