Re: Gtk2+ and thread safety
- From: Nicholas Allen - Sun Ireland - Software Engineer <nicholas allen ireland sun com>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Gtk2+ and thread safety
- Date: Fri, 14 Jun 2002 15:45:58 +0100
Hi Owen,
Thanks again! I applied the fix you suggested myself and this did indeed
seem to fix it. I haven't noticed any threading problems yet with our
implementation.
Owen Taylor wrote:
Nicholas Allen - Sun Ireland - Software Engineer <nicholas allen ireland sun com> writes:
Hi Owen,
Thanks for the feedback but we are calling gdk_threads_init just after
g_threads_init so I don't think this is the problem.
Guess, I didn't read your mail closely enough. Sorry.
I think I see a possible problem; looks like gdk/gdkwindow.c/gdk_window_update_idle()
is missing GDK_THREADS_ENTER/GDK_THREADS_LEAVE() guards.
If fixing that doesn't help, the best approach is to make as small of
a test case as you possibly can.
Since the problem with update processing is there, there may well be others;
clearly nobody has tested threading with GTK+-2.0 yet. (The general
outline of threading hasn't changed significantly, so any problems
should be trivial.)
Regards,
Owen
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Nick Allen
Software Engineer
Sun Microsystems Ireland Ltd
Hamilton House
East Point Business Park
Dublin 3
email: nicholas allen ireland sun com
The views expressed in this email are not necessarily the views of Sun Microsystems or its staff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]