On Sat, Apr 28, 2007 at 11:39:01PM +0000, Funky Fred wrote: > > >Maybe the idea is usefull for you. > > Hmm. It's definitely something I plan to keep in my head. I'm a little > wary of mucking with the interpreter at that level (that warning about > "naive use" of PyThreadState_SetAsyncExc in the documentation definitely > would apply to my knowledge level of python internals at this point). > However, I may end up having to... > > For now, though, trying to get the threads to exit cleanly is an aesthetic > thing (a flag and sys.exit() does the job, albeit with the occasional > exception when a thread doesn't check it's flag in time). Heck just going > into process explorer and killing the thing is acceptable at this stage. > But this may change, and I'll be searching for this e-mail again....
Maybe all you need is the setDaemon method on your threads. -- Antoon Pardon _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
