[Python-Dev] Slides from today's parallel/async Python talk
Trent Nelson
trent at snakebite.org
Fri Mar 15 00:00:09 CET 2013
On Thu, Mar 14, 2013 at 03:50:27PM -0700, "Martin v. Löwis" wrote:
> 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.
FWIW, I make extensive use of __declspec(thread). I'm aware of GCC
and Clang's __thread alternative. No idea what IBM xlC, Sun Studio
and others offer, if anything.
Trent.
More information about the Python-Dev
mailing list