mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-11-04 20:24:57 +00:00
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
|
||
|---|---|---|
| .. | ||
| profiler | ||
| COPYING | ||
| Makefile.am | ||