Re: [Gtk-sharp-list] Application.Invoke and threads: strangebehavior

2005-10-19 Thread Miguel de Icaza
Hello, > Thanks Miguel, > > Now I have tried to use a little C program (attached) which uses printf > and sleep(1). The usage is 'foo 4' and prints 4 strings, one every second. > > The situation is just the same, I can't understand why the command ping > works fine and my foo program not. The st

Re: [Gtk-sharp-list] Application.Invoke and threads: strangebehavior

2005-10-19 Thread amartinez
> 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. Thanks Miguel, Now I have tried to use a little C program (attached) which uses printf and sleep(1). The usage is 'foo 4' and prints 4 s