Chris Howie wrote: > > On Tue, Feb 10, 2009 at 4:12 PM, Rapha222 <[email protected]> wrote: >> I'm making a GTK# application for Linux and .NET, and I need to use the >> threads fonctions of GTK. > > Is there a reason you have to? Why does System.Threading.Thread not work? > > -- > Chris Howie > http://www.chrishowie.com > http://en.wikipedia.org/wiki/User:Crazycomputers > _______________________________________________ > Gtk-sharp-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > >
GTK is thread safe, so you can't to modify Gtk Widgets from another thread that the thread which is running the MainLoop (Application.Run()), unless if you use Thread.Enter() and Thread.Leave() to stop the mainloop during the modifications. -- View this message in context: http://www.nabble.com/Problem-with-threaded-GTK--Application-on-Windows-tp21942601p22161725.html Sent from the Mono - Gtk# mailing list archive at Nabble.com. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
