This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: is --enable-threads supported on HP-UX 11.00?




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]