[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building shared libraries at configuration time
From: |
Ludovic Courtès |
Subject: |
Re: Building shared libraries at configuration time |
Date: |
Tue, 01 Jun 2010 10:50:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi Bob,
Bob Friesenhahn <address@hidden> writes:
> On Tue, 1 Jun 2010, Ludovic Courtès wrote:
>
>> Hello,
>>
>> GNU Guile relies on TLS (thread-local storage) support where available,
>> and can live without it on inferior systems. However, I haven’t found a
>> reliable way to check whether TLS is supported.
>
> Why aren't you using the POSIX TLS APIs?
Because using __thread allows you to choose a more efficient TLS model
without changing your code (see
<http://people.redhat.com/drepper/tls.pdf>), and because it requires
less initialization-related code.
Thanks,
Ludo’.