Re: problems with threads



> I create a aplication with gtkmm (C++) and the aplication start
> various threads and this threads interact with gtk and change the
> screen, but sometimes the aplication crash? what it is happening?

Read the thread section of glib and gtk api-reference. It describes how
and when to use gdk_thread_enter() and gdk_thread_leave().


Stian Skjelstad



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]