[Stackless] stackless and threads
Vladimir Vukicevic
vladimir at pobox.com
Sat Jul 12 04:09:26 CEST 2003
Howdy..
I've been playing with stackless for the past little while, and am
wondering how it interacts with native (OS) threads. Python's native
threading situation is somewhat less-than-stellar anyway (global
interpreter lock); I'm wondering what happens when stackless is
introduced into a multithreaded app.
I'm wrapping a library that uses threads internally (Ice, www.zeroc.com)
using boost::python. I just finished some patches for boost::python
that make it manage the thread and GIL state correctly, so that Ice
dispatches that are implemented in python can be correctly executed on
arbitrary threads. I'd like to get stackless in the mix, but I
currently depend on python 2.3, due to the new
PyGILState_Ensure/_Release calls.. I can backport this to 2.2/stackless
though (I think). Is the whole thing going to blow up in my face, or do
I have a chance of things working?
Also, Christian, is a copy of your EuroPython talk on stackless
available anywhere online?
Thanks in advance for any info,
- Vlad
_______________________________________________
Stackless mailing list
Stackless at www.tismer.com
http://www.tismer.com/mailman/listinfo/stackless
More information about the Stackless
mailing list