Stephan Popp wrote:
> I've got a problem with stopping python-threads.
> I'm starting a thread with twisteds reactor.deferToThread which start a 
> methodcall in a seperate thread. In this thread a swig-wrapped c++ module is 
> running. 
> Now I want to stop the running thread from the main thread or another one, 
> and 
> have no idea how to do it.

If this external call into the C++ module is "long running", and doesn't 
itself provide a way to terminate before it's done, you can't do what 
you want unless you use a separate process entirely.

-Peter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to