FreeBSD/contrib/gcclibs/libgomp/config/mingw32/proc.c
/* When OMP_DYNAMIC is set, at thread launch determine the number of
   threads we should spawn for this team.  FIXME:  How do we adjust for
   load average on MS Windows?  */
When OMP_DYNAMIC is set, at thread launch determine the number of
threads we should spawn for this team.
When OMP_DYNAMIC is set at thread launch determine the number of threads we should spawn for this team .
unsigned
gomp_dynamic_max_threads (void)
{
  int n_onln = count_avail_process_cpus ();
  return n_onln > gomp_nthreads_var ? gomp_nthreads_var : n_onln;
}
unsigned gomp_dynamic_max_threads ( void ) { int n_onln = count_avail_process_cpus ( ) ; return n_onln > gomp_nthreads_var ? gomp_nthreads_var : n_onln ; }
When OMP_DYNAMIC is set, at thread launch determine the number of
threads we should spawn for this team.
When OMP_DYNAMIC is set at thread launch determine the number of threads we should spawn for this team .