This is the mail archive of the
mailing list for the GCC project.
Re: -pthreads on hppa?
- From: law at redhat dot com
- To: Allan Sandfeld Jensen <snowwolf at one2one-networks dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 28 May 2002 10:23:56 -0600
- Subject: Re: -pthreads on hppa?
- Reply-to: law at redhat dot com
In message <E16o8yX-0000Ew-00@Princess>, Allan Sandfeld Jensen writes:
> I now have a succesfull build of gcc-3.1 on a hppa2.0 -hpux11.0 using
> I noticed that <pthread.h> on hpux11 now defaults to modern posix behavior
> requiring _POSIX_DRAFT4 defined to revert to the old.
> I was looking in the sparc-arch how you there handle two different
> thead-models there. Sparc had both an -threads and and a -pthreads. Pa has
> the -threads that use DCE-threads, but no option to use modern pthreads. Is
> there any reason why the new pthread implementation in hpux11 is not good
Just haven't taken the time to handle the different thread models available
> If the answer to both of the above is negative, I plan to make a minor patch
> to pa-arch introducing the -pthreads option ala sparc, and adding both the
> -threads and -pthreads to the architecture-documentation.
> However I strongly
> feel the docementation of the thread-options should be moved to an
> architecture independed chapter, and written by someone more familiar with
> origin of the different options and archs.