This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH: Re: eh_globals.cc compilation errors with -threads under hpux 10.20
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: PATCH: Re: eh_globals.cc compilation errors with -threads under hpux 10.20
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Tue, 22 May 2001 17:50:04 -0400
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <Pine.SOL.3.91.1010522130736.23266A-100000@taarna.cygnus.com> <200105222128.RAA11520@hiauly1.hia.nrc.ca>
On Tue, May 22, 2001 at 05:28:36PM -0400, John David Anglin wrote:
> See below. If you decided to that continuing to define _PTHREADS
> in threads-posix.h is the best option, then introducing a threads-dce.h
> file may be required. Another option would be an ifdef around the define.
>
> DCE threads under hpux 10.20 are an early implementation of posix threads.
> Under hpux 11, I believe they meet the full posix spec, although I am far
> from an expert on this. I didn't want to introduce a new file unless
> it was absolutely necessary.
I think our original intention was that each flavor of threading gets its
own file, for simplicitly, rather than trying to force all situations to be
either 'none' or 'posix'. This additionally gives people the opportunity
to try more than one threading model on systems that support them, making
the choice during configuration.
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.