> "Jeroen N. Witmond" <[EMAIL PROTECTED]> writes:
>
>> Oops, my bad. In simplifying the testcase I removed an essential
>> part. In the new testcase (attached), the address of variable
>> 'local' is taken in the thread. Unfortunately, this does not remove
>> the problem. The testcase still exits wi
"Jeroen N. Witmond" <[EMAIL PROTECTED]> writes:
> Oops, my bad. In simplifying the testcase I removed an essential
> part. In the new testcase (attached), the address of variable
> 'local' is taken in the thread. Unfortunately, this does not remove
> the problem. The testcase still exits with 2 in
tags 309193 + moreinfo
thanks
Hi,
the documentation says:
When the address-of operator is applied to a thread-local variable,
it is evaluated at run-time and returns the address of the current
thread's instance of that variable.
So all threads get the same instance of "local" in your test
Processing commands for [EMAIL PROTECTED]:
> tags 309193 + moreinfo
Bug#309193: /usr/bin/gcc: at runtime, TLS does not work, but at compile time,
__thread does not give an error
There were no tags set.
Tags added: moreinfo
> thanks
Stopping processing here.
Please contact me if you need a
4 matches
Mail list logo