RE: problems with threads
- From: "Vlietstra, Joe (NSSD)" <Joe Vlietstra ngc com>
- To: <gtk-list gnome org>
- Cc:
- Subject: RE: problems with threads
- Date: Wed, 23 Mar 2005 09:15:30 -0800
Renato Araujo <renatox gmail com> 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 nixia no> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]