public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Phil Edwards <phil@codesourcery.com>
To: Mohammed Sultan <Mohammed.Sultan@ops.de>
Cc: gcc-help@gcc.gnu.org, gcc@gcc.gnu.org
Subject: Re: Linux compiler Question
Date: Mon, 24 Nov 2003 16:26:00 -0000	[thread overview]
Message-ID: <20031124162630.GC20759@disaster.jaj.com> (raw)
In-Reply-To: <3FC1E590.62766DF0@ops.de>

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

      reply	other threads:[~2003-11-24 16:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-24 11:03 Mohammed Sultan
2003-11-24 16:26 ` Phil Edwards [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031124162630.GC20759@disaster.jaj.com \
    --to=phil@codesourcery.com \
    --cc=Mohammed.Sultan@ops.de \
    --cc=gcc-help@gcc.gnu.org \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).