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

Bug#309193: at runtime, TLS does not work, but at compile time, __thread does not give an error



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 case.
Does that explain your problem?

-- 
	Falk



Reply to: