Re: Xlib error on running GTK app

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

 



Glib functions are thread safe, but Gtk functions, AFAIK, are not thread safe ... yet.
You need something like this:

gdk_threads_enter();
gtk_main();
gdk_threads_leave();

On 3/26/07, Renuka K <renuka.kusurkar@xxxxxxxxx> wrote:
Hi,
I am using a multi-threaded application in which my GUI thread is spawned from the main thread.
the GUI comes up fine but any action by user hangs the application and gives me an error::

Xlib: unexpected async reply (sequence 0x626)!


Can anybody please help me out with this?

Thanks and Regards
Renuka Kusurkar

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


_______________________________________________
gtk-list mailing list
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