Okay, i'm really surprised nobody knows how to do this. and frankly i'm amazed
at the utter lack of documentation. but i've figured it out, and it's all
working beautifully.
if you want the code, go here:
http://karaoke.kjams.com/wiki/Python
--
http://mail.python.org/mailman/listinfo/python-l
in my C++ app, on the main thread i init python, init threads, then call
PyEval_SaveThread(), since i'm not going to do any more python on the main
thread.
then when the user invokes a script, i launch a preemptive thread
(boost::threads), and from there, i have this:
static int