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
> Now I want to stop the running thread from the main thread or another one,
> 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.