libgomp: GOMP_SPINCOUNT

1 
1 3.18 'GOMP_SPINCOUNT' - Set the busy-wait spin count
1 ====================================================
1 
1 _Description_:
1      Determines how long a threads waits actively with consuming CPU
1      power before waiting passively without consuming CPU power.  The
1      value may be either 'INFINITE', 'INFINITY' to always wait actively
1      or an integer which gives the number of spins of the busy-wait
1      loop.  The integer may optionally be followed by the following
1      suffixes acting as multiplication factors: 'k' (kilo, thousand),
1      'M' (mega, million), 'G' (giga, billion), or 'T' (tera, trillion).
1      If undefined, 0 is used when 'OMP_WAIT_POLICY' is 'PASSIVE',
1      300,000 is used when 'OMP_WAIT_POLICY' is undefined and 30 billion
1      is used when 'OMP_WAIT_POLICY' is 'ACTIVE'.  If there are more
1      OpenMP threads than available CPUs, 1000 and 100 spins are used for
1      'OMP_WAIT_POLICY' being 'ACTIVE' or undefined, respectively; unless
1      the 'GOMP_SPINCOUNT' is lower or 'OMP_WAIT_POLICY' is 'PASSIVE'.
1 
1 _See also_:
1      ⇒OMP_WAIT_POLICY
1