Author: Armin Rigo <[email protected]>
Branch: portable-threadlocal
Changeset: r74631:cc7a1b2e6249
Date: 2014-11-22 11:47 +0100
http://bitbucket.org/pypy/pypy/changeset/cc7a1b2e6249/
Log: Idea: group in a raw struct all thread-local variables, including a
pointer to errno and the thread ident (for fast access). Then we
basically pass into the jit assembler a pointer to this raw struct.
So the extra cost is a "get the address of this thread-local struct"
before entering jitted code, once.
Benefits include: it would work on dlopened libraries, on OS/X, and
on Windows.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit