more general: strategy against errors with gtk + threads
- From: Felix Kater <f kater2 gmx net>
- To: gtk-app-devel-list gnome org
- Subject: more general: strategy against errors with gtk + threads
- Date: Sun, 30 Jan 2005 22:57:46 +0100
Hi,
in my last program I use threads more extensivly than before. From time
to time it crashes with gtk errors. Now I wonder if my strategy of
avoiding gtk errors in a multi threaded environment is suitable:
Up to now I tried to narrow all changes to gtk widgets (renaming labels,
draw into drawables etc.) to one single function, which is running in
idle time. It checks "change-booleans" for each widget and reacts on
that (renames labels etc.).
Is this the right way to do?
And what is actually - in general - causing the errors?
Thanks,
Felix
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]