]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 15 Jul 2012 19:57:58 +0000 (19:57 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 15 Jul 2012 19:57:58 +0000 (19:57 +0000)
MagickCore/thread-private.h

index 7a109d4beaf83ef1d6e6a8836f929d58bf06b459..53be971e504d494167a9307256f4f4c523f6fbe9 100644 (file)
@@ -34,8 +34,7 @@ extern "C" {
   if (((((columns) > WorkloadThreshold()) || \
       ((rows) > WorkloadThreshold()))) && ((MagickSizeType) \
       ((columns)*(rows)) > (WorkloadThreshold()*WorkloadThreshold())) && \
-      ((GetImagePixelCacheType(image) == MemoryCache) || \
-       (GetImagePixelCacheType(image) == MapCache)) && (expression)) \
+      (GetImagePixelCacheType(image) != DiskCache) && (expression)) \
     num_threads(GetMagickResourceLimit(ThreadResource))
 
 #if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR > 10))