ooothr
C OOOTHR SOURCE PV090527 26/04/24 08:23:24 12524 subroutine ooothr(nthr,start) %INC IOOWCOM %INC IOOSAF SEGMENT SS(0) save nthrs external start if (nthr .lt. 1 .or. nthr .gt. 127) then call oooerr(nthr,2,' nombre de threads incorrect ') stop endif nthrs=nthr C creation lock global iret=0 call ooomut(iret) if (iret.eq.0) return thread=.true. C enregistrer dans oooddl le nombre de thread call ooondl(nthr) do 10 i=1,nthr C creation thread call ooothc(start) 10 continue return entry oooths do 20 i=1,nthrs call oootha(i) 20 continue entry ooothi(numero) oothrd=numero oow(1)=0 lnsf(oothrd)=1 return entry ooonsf(isaf) lnsf(oothrd)=isaf C return end
© Cast3M 2003 - Tous droits réservés.
Mentions légales