[Gtk-sharp-list] Interesting post on GTK thread safety

Miguel de Icaza miguel at ximian.com
Wed May 30 17:38:59 EDT 2007


> I see no obvious reason why it wouldn't be possible to do this in
> GTK#, though it may be worth waiting for ReaderWriterLockSlim:
> http://www.bluebytesoftware.com/blog/PermaLink,guid,c4ea3d6d-190a-48f8-a677-44a438d8386b.aspx
> Loss of performance may be an issue too, I guess, but it might be
> worth it for a thread-safe toolkit.
> 
> Ideas and comments?

We would end up paying the price of taking locks and releasing them in
all code paths, as opposed to only the ones where we need to access Gtk#


More information about the Gtk-sharp-list mailing list