Compaq Fortran for Tru64 UNIX Alpha Systems V5.4
otsgetmaxthreads (3f)
returns the maximum number of threads for the current
environment (also called mpc_maxnumthreads)
Syntax
interface
integer function otsgetmaxthreads ( )
!dec$ alias otsgetmaxthreads, '_OtsGetMaxThreads'
end function otsgetmaxthreads
end interface
integer result
result = otsgetmaxthreads ( )
Description
This function returns the number of threads that would normally be used for
parallel processing in the current environment. This number is affected by
the environment variable MP_THREAD_COUNT, by the number of processes in the
current process's processor set, and by any call to otsinitparallel.