[Gtk-sharp-list] Application.Invoke and threads: strange behavior

Miguel de Icaza miguel at ximian.com
Tue Oct 18 11:32:22 EDT 2005


Hello,

> The execution of the program shows different outputs in the TextView and
> the console.
> It seems like the string 'tmp' forgets its last values inside the delegate.

The problem is that the value of "tmp" is shared (captured) and as soon
as you queue the delegate, tmp will be reloaded with the next value from
ReadLine.

Miguel.


More information about the Gtk-sharp-list mailing list