Compaq Fortran for Tru64 UNIX Alpha Systems V5.4
otsstopworkers (3f)
stops slave threads (also called mpc_destroy)
Syntax
interface
subroutine otsstopworkers ( )
!dec$ alias otsstopworkers, '_OtsStopWorkers'
end subroutine otsstopworkers
end interface
call otsstopworkers ( )
Description
This routine stops any slave threads created by parallel library support.
Use this routine if you need to perform some operation (such as a call to
fork ) that cannot tolerate extra threads running in the process.
After this call, new slave threads will be implicitly created the next time
a parallel region is encountered, or can be created explicitly by calling
otsinitparallel.
Restrictions
This routine cannot be called from within a parallel region.
See Also
otsinitparallel(3f)