|
MagickCore
6.7.5
|
#include <MagickCore/thread_.h>

Go to the source code of this file.
Defines | |
| #define | MagickCachePrefetch(address, mode, locality) |
| #define | omp_throttle(factor) |
Typedefs | |
| typedef size_t | MagickMutexType |
Functions | |
| static MagickThreadType | GetMagickThreadId (void) |
| static size_t | GetMagickThreadSignature (void) |
| static MagickBooleanType | IsMagickThreadEqual (const MagickThreadType id) |
| static size_t | GetOpenMPMaximumThreads (void) |
| static int | GetOpenMPThreadId (void) |
| static void | SetOpenMPMaximumThreads (const int threads) |
| static void | SetOpenMPNested (const int value) |
| #define MagickCachePrefetch | ( | address, | |
| mode, | |||
| locality | |||
| ) |
Definition at line 31 of file thread-private.h.
| #define omp_throttle | ( | factor | ) |
num_threads(omp_get_max_threads() >> \ (factor) == 0 ? 1 : omp_get_max_threads() >> (factor))
Definition at line 34 of file thread-private.h.
| typedef size_t MagickMutexType |
Definition at line 42 of file thread-private.h.
| static MagickThreadType GetMagickThreadId | ( | void | ) | [inline, static] |
Definition at line 45 of file thread-private.h.
References pthread_self.
Referenced by AcquirePixelCache(), GenerateEntropicChaos(), AllocateSemaphoreInfo(), and LockSemaphoreInfo().
| static size_t GetMagickThreadSignature | ( | void | ) | [inline, static] |
Definition at line 56 of file thread-private.h.
References pthread_self.
Referenced by TranslateEvent().
| static size_t GetOpenMPMaximumThreads | ( | void | ) | [inline, static] |
Definition at line 98 of file thread-private.h.
Referenced by GetImageDepth(), AcquireCacheView(), AcquirePixelCache(), ValidatePixelCacheMorphology(), DestroyPolygonThreadSet(), AcquirePolygonThreadSet(), DestroyFxThreadSet(), AcquireFxThreadSet(), NewImageView(), NewImageViewRegion(), SetImageViewThreads(), DestroyHistogramThreadSet(), AcquireHistogramThreadSet(), DestroyPixelThreadSet(), AcquirePixelThreadSet(), AcquireQuantumPixels(), DestroyRandomInfoThreadSet(), AcquireRandomInfoThreadSet(), DestroyResampleFilterThreadSet(), AcquireResampleFilterThreadSet(), DestroyContributionThreadSet(), AcquireContributionThreadSet(), ResourceComponentGenesis(), DestroyPixelListThreadSet(), and AcquirePixelListThreadSet().
| static int GetOpenMPThreadId | ( | void | ) | [inline, static] |
Definition at line 116 of file thread-private.h.
Referenced by GetImageDepth(), GetCacheViewExtent(), GetCacheViewAuthenticPixels(), GetCacheViewAuthenticMetacontent(), GetCacheViewAuthenticPixelQueue(), GetCacheViewVirtualMetacontent(), GetCacheViewVirtualPixelQueue(), GetCacheViewVirtualPixels(), GetOneCacheViewAuthenticPixel(), GetOneCacheViewVirtualPixel(), GetOneCacheViewVirtualMethodPixel(), QueueCacheViewAuthenticPixels(), SyncCacheViewAuthenticPixels(), GetAuthenticMetacontent(), GetAuthenticMetacontentFromCache(), GetAuthenticPixelsFromCache(), GetAuthenticPixelQueue(), GetAuthenticPixels(), GetAuthenticPixelsCache(), GetImageExtent(), GetOneAuthenticPixelFromCache(), GetOneVirtualPixel(), GetOneVirtualPixelFromCache(), GetOneVirtualPixelInfo(), GetVirtualMetacontentFromCache(), GetVirtualMetacontent(), GetVirtualPixelCache(), GetVirtualPixelQueue(), GetVirtualPixels(), GetVirtualPixelsCache(), QueueAuthenticPixelsCache(), QueueAuthenticPixels(), SetCacheAlphaChannel(), SyncAuthenticPixelsCache(), SyncAuthenticPixels(), DistortImage(), DrawPolygonPrimitive(), SpreadImage(), AddNoiseImage(), FxImage(), SketchImage(), DuplexTransferImageViewIterator(), GetImageViewIterator(), SetImageViewIterator(), TransferImageViewIterator(), UpdateImageViewIterator(), OilPaintImage(), ProfileImage(), FloydSteinbergDither(), GetQuantumPixels(), HorizontalFilter(), VerticalFilter(), EvaluateImages(), EvaluateImage(), StatisticImage(), and RandomThresholdImage().
| static MagickBooleanType IsMagickThreadEqual | ( | const MagickThreadType | id | ) | [inline, static] |
Definition at line 80 of file thread-private.h.
References pthread_equal, pthread_self, MagickTrue, and MagickFalse.
Referenced by LockSemaphoreInfo(), and UnlockSemaphoreInfo().
| static void SetOpenMPMaximumThreads | ( | const int | threads | ) | [inline, static] |
Definition at line 125 of file thread-private.h.
Referenced by SetMagickResourceLimit().
| static void SetOpenMPNested | ( | const int | value | ) | [inline, static] |
Definition at line 134 of file thread-private.h.