GtkSharp/gtk/gui-thread-check/profiler
Andrés G. Aragoneses dcc2850a39 gui-thread-check: use fflush() after printf()
Using fflush() right away after printf() calls avoids the buffers to
be written in an apparently complete-out-of-sync way from the point
of view of the developer. This problem would specially occur when
redirecting all output to a file this way:

  mono Foo.exe > out.txt 2>&1

Without this fix, all the output from gui-thread-check would appear
at the end of the file, instead of in between the output generated by
the program.

Cherry-picked from 6988cd4cd2
2013-10-28 21:57:29 +01:00
..
gui-thread-check.c gui-thread-check: use fflush() after printf() 2013-10-28 21:57:29 +01:00
Makefile.am build: fix automake warning about preprocessor C flags 2013-06-17 10:59:28 +02:00