[Gtk-sharp-list] Interesting post on GTK thread safety
david.anes at gmail.com
Tue May 29 08:41:55 EDT 2007
2007/5/29, Michael Hutchinson <m.j.hutchinson at gmail.com>:
> An interesting post on thread safety in java-gnome, especially in the
> light of recent discussions about the global GTK lock in GTK#:
I've read this post too and seems very interesting.
I see no obvious reason why it wouldn't be possible to do this in
> GTK#, though it may be worth waiting for ReaderWriterLockSlim:
> Loss of performance may be an issue too, I guess, but it might be
> worth it for a thread-safe toolkit.
I think it does worth it, in fact, many apps end locking threads more than
needed to prevent possible calls from threads... so this slowness penalty is
already there anyway.
Ideas and comments?
Could we have both thread-safe and by-hand-thread-safe (as now it is)
builds at the same time? Or it would be too complicated to maintain both?
> Michael Hutchinson
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list