Re: Xlib: unexpected async reply
- From: Paul Davis <paul linuxaudiosystems com>
- To: "MERT TUGCU" <merttugcu hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Xlib: unexpected async reply
- Date: Thu, 14 Apr 2005 12:58:35 -0400
>Dear all,
>
>I have been trying to display video images from a DV camera. My
>application is multi-threaded and I am using pthread class. After
then you're not using threads correctly. the rule is:
EITHER
a) use gdk_threads_{enter,leave} or some wrapper thereof
around any and all calls to Gtk/GTK/Gdk/GDK/X functions,
OR
b) ensure that only one thread makes calls to
Gtk/GTK/Gdk/GDK/X functions. Glib::Dispatcher is
a helper object that can assist here.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]