Re: multithreaded redrawing



I have a minor (maybe beginner) problem with autoconf. What do I have to
add to the configure.in (or even Makefile.am) to get gthread support?
I added the pthread stuff to my configure.in / Makefile.am.

Thx
  jochen

On Tue, Oct 02, 2001 at 09:45:04PM -0400, Havoc Pennington wrote:

Jochen Schaeuble <psionic psionic de> writes:

  I tried to use a pthread to add content to a GtkCTree. My problem is
  that from time to time the application suffers redraw problems (the
  content is not redrawn properly). If this happens the application
  needs to be restartet. Is it possible to do this? Is there
  anything I have to take care of? I just passed a pointer to a GtkCTree
  instance as param to the pthread function (I didn't do any thread
  initialization with glib).


Read the FAQ about using GTK multithreaded. You need to init threads
and use locking.

Havoc

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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