6aaca64290
Thanks ghazel. I fixed this by directly capturing ts_current in a local variable instead of reloading it. I also reviewed the code a bit and found another place where ts_current could be used out of date. --HG-- branch : trunk |
||
---|---|---|
.. | ||
README.txt | ||
dummy_greenlet.py | ||
greenlet.c | ||
greenlet.h | ||
setup.py | ||
slp_platformselect.h | ||
switch_amd64_unix.h | ||
switch_ppc_macosx.h | ||
switch_ppc_unix.h | ||
switch_s390_unix.h | ||
switch_sparc_sun_gcc.h | ||
switch_x86_msvc.h | ||
switch_x86_unix.h | ||
test_generator.py | ||
test_generator_nested.py | ||
test_greenlet.py | ||
test_remote.py | ||
test_throw.py |
README.txt
This code is by Armin Rigo with the core pieces by Christian Tismer. These pieces are: - slp_platformselect.h - switch_*.h, included from the previous one. All additional credits for the general idea of stack switching also go to Christian. In other words, if it works it is thanks to Christian's work, and if it crashes it is because of a bug of mine :-) -- Armin