MagickCore 7.0.10
thread-private.h File Reference
#include <wizard/thread_.h>
Include dependency graph for thread-private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WizardCachePrefetch(address, mode, locality)
 
#define omp_throttle(factor)
 

Typedefs

typedef size_t WizardMutexType
 

Functions

static WizardThreadType GetWizardThreadId (void)
 
static size_t GetWizardThreadSignature (void)
 
static WizardBooleanType IsWizardThreadEqual (const WizardThreadType id)
 
static size_t GetOpenMPMaximumThreads (void)
 
static ssize_t GetOpenMPThreadId (void)
 
static void SetOpenMPMaximumThreads (const size_t threads)
 
static void SetOpenMPNested (const int value)
 

Macro Definition Documentation

◆ omp_throttle

#define omp_throttle (   factor)
Value:
num_threads(omp_get_max_threads() >> \
(factor) == 0 ? 1 : omp_get_max_threads() >> (factor))

Definition at line 34 of file thread-private.h.

◆ WizardCachePrefetch

#define WizardCachePrefetch (   address,
  mode,
  locality 
)

Definition at line 31 of file thread-private.h.

Typedef Documentation

◆ WizardMutexType

typedef size_t WizardMutexType

Definition at line 42 of file thread-private.h.

Function Documentation

◆ GetOpenMPMaximumThreads()

static size_t GetOpenMPMaximumThreads ( void  )
inlinestatic

Definition at line 98 of file thread-private.h.

◆ GetOpenMPThreadId()

static ssize_t GetOpenMPThreadId ( void  )
inlinestatic

Definition at line 110 of file thread-private.h.

◆ GetWizardThreadId()

static WizardThreadType GetWizardThreadId ( void  )
inlinestatic

Definition at line 45 of file thread-private.h.

◆ GetWizardThreadSignature()

static size_t GetWizardThreadSignature ( void  )
inlinestatic

Definition at line 56 of file thread-private.h.

Referenced by TranslateEvent().

◆ IsWizardThreadEqual()

static WizardBooleanType IsWizardThreadEqual ( const WizardThreadType  id)
inlinestatic

Definition at line 80 of file thread-private.h.

References WizardFalse, and WizardTrue.

Referenced by LockSemaphoreInfo(), and UnlockSemaphoreInfo().

◆ SetOpenMPMaximumThreads()

static void SetOpenMPMaximumThreads ( const size_t  threads)
inlinestatic

Definition at line 119 of file thread-private.h.

◆ SetOpenMPNested()

static void SetOpenMPNested ( const int  value)
inlinestatic

Definition at line 128 of file thread-private.h.