PATCH: Re: eh_globals.cc compilation errors with -threads under hpux 10.20

Phil Edwards pedwards@disaster.jaj.com
Tue May 22 16:08:00 GMT 2001


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.



More information about the Gcc-patches mailing list