Re: gcc 3.2 posix thread support on HP-UX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jayaram,

> Does it mean - gcc itself cannot use pthreads in the 3.2 version, so gcc
> itself is a single-threaded program OR
> - gcc cannot correctly build code which uses pthreads ?

It means GCC cannot correctly build code which uses pthreads.

Certain critical functions in the C/C++ standard library may not be
re-entrant.  For example, perhaps the malloc and free functions are not
thread-savvy -- that would be bad.

I recommend using GCC 4.0.2.

Note:  in GCC 3.4, the option is --enable-threads=posix (no longer
--enable-threads=pthreads).

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux