Hi,
maybe a bit OT, but I've posted a recipe on ASPN recently: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/327082.
It might be a nice alternative to threads. I use it in my UML tool (Gaphor) when loading and saving diagrams.
Regards,
Arjan
Thomas Mills Hinkle wrote:
Okay, so I think between this and the other thread, I'm gathering that gtk.threads_enter() and gtk.threads_leave() will not keep me safe, and that the recent bug I found is the first of many I may have to encounter over the life of my app,esp. if I port it to Windows.
So I'm going to add learning-about-queue's to my to-do list and hope that that makes my threading woes go away. I probably won't get to this until the weekend. The bit of sample code Tim Evans posted in response to Jamie Norrish's problem will help me get started. Are there other queue examples that I've just missed i.e. in the FAQ? If not, perhaps it would be worth piecing one together and referencing it in the section of the FAQ that describes gtk.threads_enter() and other alternatives (generators, weightless threads).
Tom _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
