I'm trying to prototype an application which runs multiple python
scripts, each in its own interpreter and OS thread. I've not been able
to forceable stop a script which does not respond to a request to stop.
My thought was to simply call:
PyThreadState_Clear(xxx);
PyThreadState_Delete(xxx); //
> Is there any signal handler you can use in your C program? Maybe
signling
> yourself will get the control back to the C program and then you can
kill
> the interpreter.
Well, the app is multi-threaded, so I do have a big issue getting
control back to my C program. I just can not seem to cleanly