John David Anglin <dave.ang...@nrc-cnrc.gc.ca> writes:

>> I could find no indication that HP-UX 10 supported anything but DCE
>> threads (especially no POSIX threads), so _REENTRANT being defined must
>> meant DCE threads, unless I'm mistaken.
>
> _REENTRANT doesn't imply DCE threads.  The reentrant routines were added
> to the non threaded version of libc in HP-UX 10 in preparation for the
> transition
> to POSIX threads in HP-UX 11.  We define _REENTRANT under other
> circumstances in pa-hpux10.h as the reentrant routines are needed for
> libgfortran,
> etc.

One could argue that it's the responsibility of libgfortran to do so if
necessary, though.

But ok, I'll restore the definition and use of _DCE_THREADS in
pa-hpux10.h and gthr-dce.h.

Could you test the patch with those changes, please?

Thanks.
        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to