This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: is --enable-threads supported on HP-UX 11.00?
- To: gcc at gcc dot gnu dot org
- Subject: Re: is --enable-threads supported on HP-UX 11.00?
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Fri, 22 Jun 2001 00:21:29 -0400 (EDT)
On Thu, 21 Jun 2001, Albert Chin-A-Young wrote:
> On solaris, --enable-threads enables --enable-threads=posix. What is
> difference between --enable-threads=posix and --enable-threads=posix
> on Solaris and which is preferable?
I'll assume you mean Solaris threads vs. pthreads.
It depends on the need of your application. They are different APIs. You
shouldn't mix the two in one executable, so if you have code that needs
(say) pthreads, then use that.
Jeff