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

amartinez at atc.ugr.es amartinez at atc.ugr.es
Wed Oct 19 13:31:39 EDT 2005


>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 standard out and the TextView are
>refreshed at the end of the execution of foo.

My bad. Only a 'fflush(stdout)' next to the 'printf' in the C code solves
the problem.

Thanks Miguel.

Antonio Martínez Alvarez

More information about the Gtk-sharp-list mailing list