Hi Andrew, On Tue, Apr 17, 2012 at 00:44, Andrew Francis <andrewfr_...@yahoo.com> wrote: > I am looking at stm_descriptor_init(). Right now makes a call to > pthread_self(). In a potential Stackless prototype, I would want it to get > the current tasklet instead.
I don't understand why at all, sorry. I will stick to my position that the Stackless module should be modified to use the transaction module internally, and that no editing of the low-level RPython and C code is necessary. It is possible that using the transaction module in pure Python from lib_pypy/stackless.py is not really working, in which case you may need to edit pypy/module/_continuation instead and call directly pypy.rlib.rstm in RPython. But you definitely don't need to edit anything at a lower level. A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev