FreeBSD/contrib/gcclibs/libgomp/config/bsd/proc.c
/* At startup, determine the default number of threads.  It would seem
   this should be related to the number of cpus online.  */
At startup, determine the default number of threads.  It would seem
this should be related to the number of cpus online.
At startup determine the default number of threads . It would seem this should be related to the number of cpus online .
void
gomp_init_num_threads (void)
{
  int ncpus = get_num_procs ();
  if (ncpus > 0)
    gomp_global_icv.nthreads_var = ncpus;
}
void gomp_init_num_threads ( void ) { int ncpus = get_num_procs ( ) ; if ( ncpus > 0 ) gomp_global_icv . nthreads_var = ncpus ; }
At startup, determine the default number of threads.
At startup determine the default number of threads .