Author: Armin Rigo <[email protected]>
Branch: stm-thread-2
Changeset: r57345:4f8d9d122f13
Date: 2012-09-14 15:06 +0200
http://bitbucket.org/pypy/pypy/changeset/4f8d9d122f13/

Log:    This global var needs a __thread.

diff --git a/pypy/translator/c/src/rtyper.h b/pypy/translator/c/src/rtyper.h
--- a/pypy/translator/c/src/rtyper.h
+++ b/pypy/translator/c/src/rtyper.h
@@ -23,7 +23,7 @@
 
 #ifndef PYPY_NOT_MAIN_FILE
 
-struct _RPyString_dump_t {
+__thread struct _RPyString_dump_t {
        struct _RPyString_dump_t *next;
        char data[1];
 } *_RPyString_dump = NULL;
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to