Forum > Unix

Console output and multithreading

<< < (3/3)

zim:
Actually starcasing is not the only problem. Nearly at the very beginning of my log I constantly see some unicode corription also.
It's quite surprising - every time at the same place and exactly at the same character. Line is somehow broken at that character, and instead of the character an asterisk symbol is shown.
While same output written to the log files has no problems.
Forced Flush has no effect.

So, seems there're still some deep problems with console buffers and it's not thead safe.
Well, I can see the only solution - to make custom class for console output that will do in-memory buffering and a single physical output point.

Navigation

[0] Message Index

[*] Previous page

Go to full version