https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #20 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Jerry DeLisle from comment #19)
> (In reply to Christophe Lyon from comment #17)
> > Thanks for your effort; I'm still seeing noise though.
> > 
> > Sorry, I'm not fluent in fortran: is there a way to call wait() from 
> > fortran?
> > I could try adding it at the end of the testcase, to see if it reliably
> > fixes the problem I observed.
> 
> You can use ISO_C_Binding and call a C function.  See
> https://gcc.gnu.org/onlinedocs/gfortran/Interoperable-Subroutines-and-
> Functions.html

It might be possible to call wait() from Fortran using ISO C binding,
but I don't know how to get the type of pid_t from Fortran.

Reply via email to