public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Martin Sustrik <sustrik@fastmq.com>
To: Ian Lance Taylor <iant@google.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: C thread local storage support
Date: Wed, 15 Apr 2009 15:34:00 -0000	[thread overview]
Message-ID: <49E5FE8D.50907@fastmq.com> (raw)
In-Reply-To: <m363h6vsrh.fsf@google.com>

Ian Lance Taylor wrote:
> Martin Sustrik <sustrik@fastmq.com> writes:
> 
>> GCC documentation on thread-local variables says:
>>
>> "It requires significant support from the linker (ld), dynamic linker
>> (ld.so), and system libraries (libc.so and libpthread.so), so it is
>> not available everywhere."
>>
>> Is there any way to find out which platforms do support TLS and which
>> do not?
> 
> You can try it and see what happens.  In what context are trying to find
> out whether it works?
> 
> In general it should be supported on Linux kernels with version >= 2.6.0
> and using a sufficiently recent glibc--I think 2.4 should suffice.  It
> should also work on sufficiently recent Solaris systems.  I don't know
> about other systems.

The question was more about exotic systems. If there's no list of 
supported systems never mind, I'll just check manually.

Martin


      reply	other threads:[~2009-04-15 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 11:58 Martin Sustrik
2009-04-15 15:30 ` Ian Lance Taylor
2009-04-15 15:34   ` Martin Sustrik [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=49E5FE8D.50907@fastmq.com \
    --to=sustrik@fastmq.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=iant@google.com \
    /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).