[Gtk-sharp-list] GIo or another mechanism of signaling Application.Run

Miguel de Icaza miguel@ximian.com
12 Aug 2002 15:03:56 -0400


Hello,

> 	Use g_idle_add; that has the benefits of:
> 
> 	a) being thread safe
> 	b) having a wake_up fd in the glib mainloop already being polled
> 	   so it will wake up any main thread code in the mainloop/

Oh, this is very interesting.  From a quick glance at the code, it seems
like this would indeed wake up the main thread.

Miguel.