RE: problems with threads

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

 



Renato Araujo <renatox@xxxxxxxxx> wrote:
> 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?
 
Stian Skjelstad <stian@xxxxxxxx> responded:
> Read the thread section of glib and gtk api-reference.
> It describes how and when to use gdk_thread_enter() and
> gdk_thread_leave().

I agree with Stian's recommendation and would also suggest
updgrading to GTK 2.6.2 or above.  We had a real mystery with
one of our multithreaded applications (12 threads, Windows,
dual CPUs, WinGtk) that would occasionally crash.
Upgrading GTK from 2.4.13 to 2.6.2 fixed the problem.
(Although I can't point to any glib/gthread change that would
directly fix our problem.)

Joe Vl
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux