1. Ronny Pfannschmidt
  2. greenlet-excstate


greenlet-excstate /

Filename Size Date modified Message
55 B
554 B
4.5 KB
28.0 KB
1.1 KB
2.1 KB
982 B
1.8 KB
2.5 KB
2.5 KB
1.3 KB
2.4 KB
1.9 KB
2.1 KB
1.5 KB
1.1 KB
3.1 KB
2.8 KB
582 B

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 :-)

This code is going to be integrated in the 'py' lib. The test file only runs if you got greenlets from there! See http://codespeak.net/py/ and try 'from py.magic import greenlet'.

-- Armin