Re: Linux compiler Question

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

 



On Mon, Nov 24, 2003 at 12:03:44PM +0100, Mohammed Sultan wrote:
> Hi There,
> 
> When I give gcc -v on kaldera version 3.1.1,It gives me the following
> 
> Thread model:single &
> Gcc version Number
> 
> [1]So,If my program is multithreaded, & the thread model is
> "Single",Will the libraries like STL etc be thread safe.

No.

http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#5_6


> [2]Should I have to change the Thread Model to "PThread" then...

The compiler and its runtime libraries must be rebuilt in order to do that.

-- 
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
    - Brian W. Kernighan

[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