On Sun, Feb 08, 2004 at 12:59:44PM -0800, Jeff Bowden wrote: > Antoon Pardon wrote: > > > >My idea to handle this would be to create a new signal. Have a handler > >for this signal in the gui thread and let the background task emit this > >signal. Would this be workable? On Windows? > > > > > > > > I'm not sure if that even works on Linux. I haven't traced down the > code path but it wouldn't surprise me if emit ends up executing > synchronous calls to the connected signal handlers. Is this documented > somewhere? Am I wrong?
You're correct, the signal handler will end up being handled in the thread that calls emitted. Signals are not queued asynchronously or anything. I'm not sure where this is documented but it goes along with the overall thread agnostic design of GTK+. --jkl _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
