Re: C thread local storage support

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

 



Martin Sustrik <sustrik@xxxxxxxxxx> 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.

Ian

[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