Re: gdk threads enter/leave not enough?
- From: "Fe Kater" <f kater2 gmx net>
- To: Tristan Van Berkom <tristan van berkom gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gdk threads enter/leave not enough?
- Date: Thu, 11 Aug 2005 11:30:01 +0200 (MEST)
This sounds very strange, are you wrapping all your gtk+ api accessing
code in enter/leave in all threads (including the parent) and only
from event sources (i.e. not in signal handlers that are fired by gtk
widgets) ?
I never call gtk+ directly but have my own wrappers which take care of
gdk_threads_enter/leave. So I am sure I haven't forgotton it somewhere.
But what do you mean by "including the parent"? Do I have to wrap something
into gdk_threads_enter/leave additionally to the gtk+ calls?
Finally, the problems occur especially when the threads are initiated other
than by button press events. (In my case in a listener thread I listen to
digital I/O signals and try to print text output to my own textview logger
widget or even rename labels only.) By the way, I am curious to know if
button press events are automatically locked by gdk_thread_enter().
Thank You!
Felix
--
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]