[Stackless] Mixing os threads and stackless
lloyd at fusion.net.nz
Wed Apr 26 12:52:21 CEST 2006
I don't *think* you'd get much advantage with this as the python global
interpreter lock will block all threads while another is executing so
you might as well run a single thread with all your tasklets in it?
Unless ofcourse you have specific C routines in your code that get
called into often that release the interpreter lock? Your best bet is
probably to run some tests in your application and see which gives the
Johan Carlsson wrote:
> Can I mix OS Threads and stackless.
> I'm interested in starting several server (with their own scheduler) in
> While testing, this seems to work without problems and
> I've even used stackless channels to pass messages between
> tasklets in different threads.
> I just wanne check if there is any reasons to avoid this
> kind of use.
Stackless mailing list
Stackless at stackless.com
More information about the Stackless