Am 14.03.13 12:59, schrieb Stefan Ring: > I think you should be able to just take the address of a static > __thread variable to achieve the same thing in a more portable way. That assumes that the compiler supports __thread variables, which isn't that portable in the first place. Regards, Martin